CSS Gradient Generator

Choose a gradient type, angle and colour stops and watch the preview update. Copy the CSS when it looks right.

  • Free, no account needed
  • Checked by 2 test cases
  • Runs in your browser: nothing you enter is sent to us
  • Updated November 19, 2026
Colour stops
CSS

How to use this tool

  1. Choose linear, radial or conic.
  2. Set the angle and edit the colour stops (colour and position).
  3. Copy the CSS.

How it works

Output uses the standard CSS gradient functions supported by all current browsers, with colours as HEX (or rgba when transparent) and positions in percent.

Limitations

  • Very subtle gradients can show banding on some screens.

Privacy and data

Everything happens in your browser. Nothing you enter is sent to our server.