Tools

CSS Gradient Generator

Linear, radial or conic. Add as many color stops as you like, drag the angle, and copy clean CSS. Nothing is uploaded — it all happens in your browser.

CSS

About CSS gradients

A CSS gradient is an image generated by the browser, so it lives anywhere an image can: background, border-image, even mask. Because it's drawn at render time it stays razor-sharp at any size and adds zero network weight.

Linear gradients run along a line you set with an angle (90deg points right, 0deg points up). Radial gradients spread out from a center point in a circle or ellipse. Conic gradients sweep around a center like a color wheel — handy for pie charts, loading spinners and modern badges. Add intermediate color stops to control exactly where each color sits.

Want depth on top of color? Pair a gradient with the box-shadow generator or frost it with the glassmorphism generator.