About the CSS Gradient Generator
Use this tool to build CSS gradients visually, then copy the generated declaration into a stylesheet, component, or design prototype. Linear, radial, conic, and repeating gradients are generated in the browser.
Build linear, radial, conic, and repeating gradients directly in your browser. Tune the angle, focal point, and color-stop positions, then copy the generated CSS.
Browse 180 gradient presetsbackground-image: linear-gradient(45deg, #ff9a9e 0%, #fad0c4 99%, #fad0c4 100%);Use this tool to build CSS gradients visually, then copy the generated declaration into a stylesheet, component, or design prototype. Linear, radial, conic, and repeating gradients are generated in the browser.
Pick linear, radial, or conic and enable repeating mode only when you need a tiled pattern.
Edit each hex color and move its stop position from 0 to 100 percent.
Set the angle for linear or conic gradients, or move the focal point for radial and conic gradients.
Copy the generated background-image declaration and test it in your own layout.
No. Gradient editing and CSS generation happen in your browser.
Yes. The editor supports multiple color stops so you can create two-color or multi-stop gradients.
It generates a background-image value using linear-gradient, radial-gradient, conic-gradient, or their repeating variants.
Switch between linear, radial, and conic CSS gradients without rewriting syntax.
Edit each color and position independently, reverse the order, or randomize a palette.
Gradient editing and CSS generation happen locally; no image upload or backend job is required.
Stops control which colors appear and where they blend. The angle controls the direction across the element.
Apply the generated background declaration to an element with visible dimensions. Existing background rules may override it, so check your stylesheet order.