99+ Free Tools
← Back to all tools

Gradient Generator

Build CSS gradients with multiple colour stops — live preview, presets, and PNG export. Nothing is uploaded or stored.

Colourful gradient swatches and paint blends on paper
Only CSS gradients are generated — complex multi-layer effects are out of scope.

Build your gradient

Add at least two colour stops.

Result

CSS

How this tool works

Local only. The CSS is generated in your browser from the controls, and the preview updates live with every change. Nothing is uploaded, stored or shared.

Angles. A linear gradient's angle is measured clockwise from the top: 0° goes up, 90° goes right, 180° goes down.

Stops. Each stop has a colour and a position from 0% to 100%. At least two stops are needed; you can add up to 8.

PNG export. The PNG is the same gradient drawn at 1920×1080, for use as a background image.