Home/Gradient Generator

Gradient Generator

Visually design linear, radial and conic CSS gradients. Add color stops, set the angle, choose from presets; download the CSS code or a PNG image.

Click the bar to add stops · drag the stops · Delete removes the selected stop

CSS code


Presets

Frequently Asked Questions

What's the difference between linear, radial and conic?

Linear blends colors along a straight line, radial outward from the center in circles, and conic by rotating around the center (like a pie chart).

Does the code work in every browser?

Yes; linear and radial gradients work in all modern browsers, and conic gradients in all versions since 2020. The code also includes a solid color fallback for environments without gradient support.