overlay
Type: <object>
It creates a beauty screenshot composition using a browser overlay over the target url.
- CLI
- JavaScript
- Shell
- Python
- Ruby
microlink 'https://www.apple.com/music/&screenshot=true&overlay.background=linear-gradient(225deg, #FF057C 0%, #8D0B93 50%, #321575 100%)&overlay.browser=dark'
An overlay is specified as
browser
theme, being 'light'` and 'dark' supported.Additionally, you can setup a
background
color, where the color can be defined as:- An hexadecimal/rgb/rgba color code (e.g.,
'#F76698'
). - A CSS gradient(e.g.,
'linear-gradient(0deg, #330867 0%, #30CFD0 100%)'
). - An image url (e.g.,
'https://source.unsplash.com/random/1920x1080'
).