CSS Gradient Generator

Design & copy CSS gradients

FreeNo sign-upNothing uploaded

Field guide

About the CSS Gradient Generator

Create smooth gradient backgrounds for buttons, hero sections and cards. Pick colours and angles, preview the result and copy ready-to-use CSS.

  1. Choose your colours.
  2. Set the type and angle.
  3. Copy the CSS.
Questions

Frequently asked

Do CSS gradients work in all browsers?

Yes, linear-gradient and radial-gradient are supported by every modern browser.

Are gradients better than images?

Usually yes: they are tiny, scale to any size and don't need an extra download.

Can I use more than two colours?

CSS supports any number of colour stops.

Is what I type sent to a server?

No. The tool runs entirely in your browser and there's no server behind it, so what you type never leaves your device and nothing is stored. You can check: it keeps working if you go offline after the page has loaded.