Gradient Generator

Design CSS gradients visually, linear, radial or conic, with unlimited stops.

Quick answer

Design linear, radial and conic CSS gradients with unlimited colour stops and a live preview. Copy the CSS or Tailwind arbitrary-value class.

Colour stopsAt least two required

Adjust the stops to build your gradient.


Preview
The CSS will appear here.

Presets

Features

  • Linear, radial and conic gradients
  • Unlimited colour stops with position control
  • Live preview at full width
  • Copies plain CSS or a Tailwind arbitrary value
  • Eight starting presets

How to use it

  1. Pick a gradient type.
  2. Adjust the colour stops and their positions.
  3. Set the angle for linear and conic gradients.
  4. Copy the CSS straight into your stylesheet.

Getting gradients to look right

The commonest problem is the grey dead zone. Interpolating between two saturated complementary colours in sRGB passes through a desaturated middle, blue to yellow goes through a muddy grey rather than through green. Adding an intermediate stop in the hue you actually want fixes it. Newer CSS lets you interpolate in a perceptual space with in oklch, which avoids the problem entirely, though browser support is still uneven.

Banding is the other frequent complaint, visible as distinct stripes across a large, subtle gradient. It happens because 8-bit colour has only 256 levels per channel, and a gentle transition across a wide area cannot supply enough distinct values. Adding a very subtle noise texture over the top is the standard fix and works well.

Angles are worth memorising because CSS differs from the mathematical convention: 0deg points up, 90deg points right, and the angle increases clockwise. Conic gradients are the odd one out in usefulness, they are the natural way to build pie charts and colour wheels in pure CSS, since the colour sweeps around a centre point rather than along a line.

Frequently asked questions

Yes, completely. Gradient Generator is free with no usage limits, no account and no sign-up. There is no paid tier and no trial that expires. Tools marked Premium on this site carry that label to indicate a deeper feature set, not a price.
Gradient Generator covers linear, radial and conic gradients, unlimited colour stops with position control, live preview at full width, among other things. Everything is available immediately with no account, no sign-up and no usage limit.
The commonest problem is the grey dead zone. Interpolating between two saturated complementary colours in sRGB passes through a desaturated middle, blue to yellow goes through a muddy grey rather than through green. Adding an intermediate stop in the hue you actually want fixes it. Newer CSS lets you interpolate in a perceptual space with in oklch, which avoids the problem entirely, though browser support is still uneven.
Everything happens inside your browser. The text you enter is processed by JavaScript running on your own device and is never sent to a server, there is no backend to send it to. You can confirm this in your browser's Network tab while you use the tool. The tool loads fresh from the web each time you open it, so you always get the latest version, but once it is open all the work happens locally in your browser and nothing you enter is sent to a server.

Related tools

Further reading

📖 CSS Gradients Explained: How to Create Beautiful Backgrounds

Read the full guide on the 123MiniApps blog.

Pick a theme

Ten hand-tuned palettes.