CSS Gradient Generator

Drag color stops to build linear, radial, or conic gradients and copy the CSS in one click.

135°

Color stops

CSS
 

How to Use

1
Pick a type

Choose linear, radial, or conic gradient depending on the look you want.

2
Add color stops

Use the + button to add stops, drag the slider to set each stop's position (0–100%), and pick a color from the swatch.

3
Tune and copy

Adjust angle (linear), shape and origin (radial), and copy the resulting CSS in one click.

FAQ

How many color stops can I add?

Up to 8. Most visually balanced gradients use just 2–4 stops.

Is conic gradient widely supported?

Yes — Chrome 69+, Safari 12.1+, and Firefox 83+. Older browsers may not render it.

How do I use the code?

Paste it directly into a `background:` property. It also works inside CSS variables or Tailwind arbitrary values like `bg-[linear-gradient(...)]`.

Does it support alpha (transparency)?

Yes. Use 8-digit hex (#RRGGBBAA) or rgba() in the color picker fields.

Is anything sent to a server?

No. Everything happens in your browser; nothing leaves the page.