Create beautiful color gradients for CSS, design mockups, or UI components. Add color stops, adjust positions, switch between linear, radial, and conic types, and copy the complete CSS value instantly. The live preview updates with every change. All generation runs locally in your browser.
CSS
GRADIENT
Type
Angle: 135deg
Color stops
The CSS gradient string is built from the selected type, angle, and color stops. For linear gradients: linear-gradient(Ndeg, color1 P1%, color2 P2%, ...). For radial: radial-gradient(circle, ...). For conic: conic-gradient(from Ndeg, ...). Color stops are sorted by position before the string is assembled. The string is applied directly as a CSS background property on the preview element. All processing runs in JavaScript in your browser.
All processing happens locally in your browser tab. Our servers are not involved at any point.
For building a coordinated multi-colour set first, try the colour palette generator. To soften or deepen any stop value, use tints and shades. For converting your stop colours between formats, see the colour converter.