⌨️ Developer ToolsFreeNo sign-upWorks offline once loaded
CSS Gradient Generator
Build linear, radial and conic gradients visually and copy the CSS.
Runs entirely in your browser. Nothing is uploaded, stored or sent anywhere.
The formula behind it
linear-gradient(angle, colour1, colour2) — the angle runs clockwise from pointing up.
The working is shown so you can check it. If a result looks wrong, this is the first place to look.
How to use it
Open the CSS Gradient Generator above. It is ready to use — nothing to install.
Enter type, angle (degrees), colour 1, colour 2.
Press Calculate.
Copy the result with one click, or download it where the tool produces a file.
Change any value and the result updates immediately — there is no limit on how many times you run it.
About the CSS Gradient Generator
Build linear, radial and conic gradients visually and copy the CSS.
This is one of 107 free tools on RandomGen Tools. It sits in the developer tools section, alongside json formatter. Everything runs in your browser, so there is nothing to install and no limit on how often you use it.
Questions people ask
90 degrees. 180 degrees runs top to bottom.
Banding appears between very different hues at low bit depth. Add an intermediate stop to soften it.
Yes, but this generator produces two. Add extra stops manually in the copied CSS.