- Free
- No sign-up
- Works on any device
No tool matches your search.
- Free
- No sign-up
- Works on any device
Create a QR code for a link, Wi-Fi, WhatsApp, contact and more, or read one from a photo.
- Free
- No sign-up
- Works on any device
Fill in the details to see your QR code.
PNG for phones, chats and websites. SVG and PDF stay sharp at any size, which is best for printing. Tip: point your phone camera at the preview to test it.
3. Style (optional): colors, dots, logo
Choose a photo or screenshot or drag it here
Works with photos of printed codes, screenshots and image files.
Looking for QR codes…
Image to CSS gradient
Sample the colours of a picture along a line you draw and build a CSS linear gradient with 3 to 6 stops that matches its mood.
- Free
- No sign-up
- Works on any device
About Image to CSS gradient
Take the mood of a photo and turn it into a background for your site. The tool follows a straight line across the picture, takes the average colour in a small window at evenly spaced points, and writes a CSS linear-gradient with three to six stops. The line starts as a horizontal sweep through the middle, and you can drag it or type its ends. The angle is worked out from the line, and a live bar previews the result.
How to use Image to CSS gradient
- Choose a picture and drag a line across the part you like.
- Pick the number of stops and how much to average around each point.
- Copy the CSS and paste it into your stylesheet.
Why use this tool?
- Private: everything happens in your browser. Nothing you enter is uploaded.
- Free, with no sign-up, no watermark and no limit on how often you use it.
- Works on phones, tablets and computers: Android, iPhone, Windows, Mac and Linux. Nothing to install.
- Available in 10 languages.
Also known as
Frequently asked questions
How is the gradient angle chosen?
From your line. Left to right gives 90 degrees, top to bottom gives 180, and a diagonal line gives the matching diagonal angle.
Why average several pixels?
A single pixel can be noise or a speck. Averaging a 5 by 5 or larger window gives a calmer colour that matches the area.
How many stops should I use?
Three stops capture most scenes. Add more for a sunset or a multicolour image, but too many makes the gradient look busy.
Is Image to CSS gradient free?
Yes. Image to CSS gradient on Toolipedia is free to use, with no sign-up and no watermark.
Is it safe to use?
Yes. Everything is worked out in your browser, and nothing you enter is sent to our server.
Does it work on my phone?
Yes. It works in any modern browser on Android and iPhone, as well as on tablets and computers. There's nothing to install.
Do I need an account?
No. Just open the page and use the tool. There's no sign-up and no email needed.