CSS gradient generator
Design linear, radial and conic CSS gradients with up to 8 colours, see a live preview, and copy the CSS with a solid-colour fallback. Start from presets or a random gradient, and download it as a PNG background image.
Runs in your browser. Nothing is uploaded.How to use the CSS
Paste the two lines into any CSS rule, for example on body or a hero section. The first line is a solid colour for very old browsers; every current browser uses the gradient on the second line.
Tips for good gradients
- Colours next to each other on the colour wheel blend smoothly; opposite colours can look muddy in the middle. Add a third colour stop to fix it.
- Keep text readable: check contrast with the colour picker.
- Want colours from a photo or logo? Use colour palette from image.
Questions
Do CSS gradients work in all browsers?
Linear and radial gradients work in every current browser. Conic gradients work in all modern browsers since 2020.
Can I use the gradient in Canva or PowerPoint?
Yes. Download it as a PNG at the size you need and use it as a background image.
More free tools
Meta description generator
Write meta descriptions and preview your Google listing.
Website screenshot
Capture any website on desktop, tablet or mobile.
JSON formatter
Format, validate and minify JSON.
Website speed test
Core Web Vitals and Google PageSpeed scores for any page.
DNS propagation checker
See what 8 public DNS providers return for your domain.
Invoice generator
Make a professional invoice with VAT and save it as a PDF.
Merge PDF
Combine several PDFs into one file, in any order.
Compress PDF
Make PDFs smaller for email and uploads.