Skip to content
FizzKit

CSS Gradient Generator

Build gradients visually: drag colour stops on the bar, set per-stop alpha, choose the angle or the radial shape, size and centre, stack multiple layers, and pick an interpolation space such as oklch for vivid blends. Import an existing CSS gradient (or a whole background list), undo and redo, and copy the result as CSS with a solid fallback, Tailwind v3 and v4 classes, or a downloadable SVG.

Runs locally in your browser
Preview
Layers (1) — top first
135
Color stops (2) — drag handles, double-click bar to add
%
%
background: #a857c5; /* fallback */
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
Layers
1
Stops (active)
2
Type
linear
Angle
135°
Interpolation
srgb
Invalid colours
0
CSS length
49 chars

How to use CSS Gradient Generator

  1. 1Pick linear, radial or conic and start from a preset or import your own CSS.
  2. 2Drag the stop handles (double-click the bar to add one) and edit colours, alpha and positions.
  3. 3Add layers for stacked effects and choose an interpolation space.
  4. 4Copy the CSS, the Tailwind classes or download the SVG.

About CSS Gradient Generator

Build gradients visually: drag colour stops on the bar, set per-stop alpha, choose the angle or the radial shape, size and centre, stack multiple layers, and pick an interpolation space such as oklch for vivid blends. Import an existing CSS gradient (or a whole background list), undo and redo, and copy the result as CSS with a solid fallback, Tailwind v3 and v4 classes, or a downloadable SVG.

CSS Gradient Generator is part of FizzKit — a collection of focused developer and ad-tech tools. Because everything runs locally, it works offline once loaded and never exposes your data to a remote server.

Frequently asked questions

Linear, radial and conic, each with a repeating variant, and any number of layers stacked in one background value.