CSS Gradient Generator — Linear, Radial, Conic, OKLCH
Design beautiful CSS gradients with the modern OKLCH color space. Drag color stops, fine-tune the angle, copy production-ready CSS / Tailwind / SCSS.
FAQ — CSS Gradient Generator
Why use OKLCH instead of RGB?
OKLCH is perceptually uniform — interpolated gradients look smooth without dead "muddy" zones. RGB blends often pass through ugly grays. OKLCH is the modern CSS Color 4 standard.
How do I copy the gradient as Tailwind?
Click the "Tailwind" tab in the CSS box — output is `bg-gradient-to-r from-... via-... to-...` ready to paste into JSX.
Can I add more than 2 color stops?
Yes — click "+ Add stop" to insert a stop at any position. Drag stops on the gradient bar to reposition.
What's a conic gradient?
Sweeps colors around a center point — like a pie chart or sunburst. Great for dashboard widgets, progress rings, or stylized backgrounds.
Will OKLCH gradients work in older browsers?
OKLCH is supported in all modern browsers (Chrome 111+, Safari 16.4+, Firefox 113+). For older support, use the LAB or RGB modes which fall back gracefully.