CSS Gradient Generator
Create linear, radial and conic CSS gradients with any number of colour stops, an angle control and presets, then copy the CSS. Free online gradient generator.
Runs in your browser. Nothing is uploaded.
About CSS Gradient Generator
Build a gradient visually: choose linear, radial or conic, set the angle, and add, move or remove colour stops. The large preview updates live, and presets and a Random button give you a starting point.
The CSS output includes a solid background colour as a fallback first, followed by the gradient, so very old browsers still get a sensible colour.
How to use CSS Gradient Generator
- Open the tool above and add your file or text.
- Adjust the options to suit.
- Download or copy the result. Nothing is uploaded at any point.
Frequently asked questions
How do I make a hard line instead of a smooth blend?
Give two stops the same position, for example red 50% and blue 50%.
What does the angle mean?
For linear gradients, 0deg runs bottom to top, 90deg left to right and 180deg top to bottom. For conic gradients it sets where the sweep starts.
Is CSS Gradient Generator free and private?
Yes. CSS Gradient Generator is completely free with no sign-up. Everything runs in your browser, so whatever you type or paste never leaves your device.