CSS Gradient Generator
Create linear, radial, and conic gradients with multiple colors, then copy the ready-to-use CSS.
Colors and stops
Suggestions
Processed on your device. Nothing you type is sent anywhere.
How to use: CSS Gradient Generator
- Choose a gradient type: linear, radial, or conic.
- Adjust the colors, stops, and angle—or start with a preset.
- Copy the CSS and paste it into your element's
backgroundproperty.
About this tool
The generated code includes a solid color before the gradient as a fallback for very old browsers. CSS gradients are rendered by the browser, don't add image file size, and adapt to any screen size.
For a smooth blend between very different colors, add an intermediate color. A direct transition between complementary colors (like blue and orange) tends to pass through a grayish shade.
Frequently asked questions
What's the difference between linear, radial, and conic gradients?
A linear gradient changes color along a line at an angle. A radial gradient spreads from a center point in a circle or ellipse, while a conic gradient rotates around the center, like a pie chart.
Does it work in all browsers?
Yes. linear-gradient and radial-gradient work in all current browsers; conic-gradient is supported in modern Chrome, Edge, Firefox, and Safari.
Is it really free? Is there a daily limit?
It's free with no daily limits. Processing happens on your device, so there's no per-use cost and no need to limit you.
Does it work on phones?
Yes. The site works in any modern browser on Android, iPhone, Windows, Mac, and Linux—no installation needed.






