CSS Gradient Generator
Design linear and radial gradients and copy the CSS. Free, no sign-up, works in your browser.
🔒 100% private — processing happens in your browser. Nothing is uploaded.
How to make a CSS gradient
- Choose linear, radial or conic.
- Set the angle and the colours; add more colours with + Colour.
- Press Random for inspiration.
- Copy the CSS.
Backgrounds without images
Gradients make buttons, headers and backgrounds look modern without loading an image file. Linear gradients go in a direction, radial ones spread from a point and conic ones rotate around the centre, like a colour wheel.
The copied CSS works in all modern browsers.
Questions and answers
How do I make a diagonal gradient?
Use a linear gradient at 135°.
Can I use transparency?
Yes, pick colours with opacity.
Does it need prefixes?
No, modern browsers support it without them.
Is it free?
Yes, no sign-up.