Skip to content

CSS Gradient Generator

Generators & QR · Done in 3 steps

Stays on your deviceFree · No sign-up
  1. 1Pick a gradient type
  2. 2
  3. 3
Loading tool…

About

Design linear, radial and conic CSS gradients with draggable colour stops, angle control and presets. Copy clean, ready-to-paste CSS.

How to use it

  1. 1Choose linear, radial or conic.
  2. 2Drag the colour stops along the bar, click the bar to add a stop, and pick each stop’s colour.
  3. 3Set the angle or centre point, or start from a preset.
  4. 4Copy the CSS, which includes a solid fallback colour.
You give
Gradient type, colour stops, angle/centre
You get
CSS background declaration
Good to know
Colour stops use hex colours. Advanced features like colour hints, multiple stacked gradients and interpolation colour spaces (in oklch) aren’t exposed in the editor.
Privacy
Processed on your device. Nothing is uploaded, stored or logged.
Last tested
2026-10-28

FAQ

Do I still need -webkit- prefixes?

No. Unprefixed linear-, radial- and conic-gradient work in all current browsers. The fallback line covers very old ones.

How do I make a hard colour stripe?

Put two stops at the same position with different colours. The colour switches instantly instead of blending.

Go further with AI