CSS Gradient Generator
Design beautiful CSS gradients in seconds. Switch between linear and radial types, tweak the angle, add up to four color stops with precise positions, and watch a live preview update instantly. Copy production-ready CSS with one click.
Examples
Linear, 90deg, blue to pink
background: linear-gradient(90deg, #5b6cff 0%, #ff5b9e 100%);
How it works
Choose linear or radial, set two to four colour stops and the CSS updates with the preview. Each stop has a colour and a position from 0% to 100%; the stops are written in position order whatever order you added them in.
| Angle | Direction |
|---|---|
| 0deg | Bottom to top |
| 90deg | Left to right |
| 180deg | Top to bottom |
| 270deg | Right to left |
Radial gradients are always a circle starting from the centre; ellipses and off-centre positions are not offered. Colours are solid, without transparency, and conic or repeating gradients are not generated.
How to use CSS Gradient Generator
Why use this tool
Frequently asked questions
Between 2 and 4 stops, each with its own color and position.
Yes, switch the type to Radial for a centered circular gradient.
Found a bug or have an idea?
ToolOrbit is actively developed — feedback directly shapes what gets built next.
Send feedback