CSS Gradient Generator

Design linear and radial gradients and copy the CSS. Free, no sign-up, works in your browser.

🔒 100% private — processing happens in your browser. Nothing is uploaded.

How to use the CSS gradient generator

  1. Pick the gradient type and angle.
  2. Choose colours and move their stops; add as many colours as you like.
  3. Copy the CSS — it includes a solid fallback colour.

Gradients make buttons, headers and backgrounds look modern without any image files. Linear gradients blend along a line, radial ones spread from the centre and conic ones sweep around a point like a colour wheel. The generated code works in all current browsers.