CSS Gradient Generator

Design linear and radial CSS gradients with live preview. Create CSS gradients visually — linear or radial, any angle, multiple colour stops — and copy the ready-to-use CSS code. Free online gradient generator.

This tool runs 100% in your browser. Your input is never sent to any server — you can even go offline after the page loads.

About the CSS Gradient Generator

Gradients give interfaces depth without a single image download, but writing gradient syntax blind is guesswork. This generator lets you set two or more colour stops, switch between linear and radial, dial in the angle, and watch the preview update live — then hands you the exact CSS to copy, with cross-browser -webkit- fallback included. Randomise for inspiration or fine-tune each stop position by hand.

How to use the CSS Gradient Generator

  1. Pick your start and end colours.
  2. Choose linear or radial, then set the angle.
  3. Add or adjust colour stops as needed.
  4. Copy the generated CSS into your stylesheet.

Key features

What is a colour stop?
A point along the gradient where a colour reaches full strength. Multiple stops create multi-band gradients like sunsets.
Do gradients work in all browsers?
Yes — the syntax has been supported everywhere for years. The tool includes the -webkit- prefix for older Safari just to be safe.

Related Image & Design tools

More utilities from the same category.

View all →