iziznkit

CSS gradient generator

Free · no sign-up

Build a linear or radial gradient and copy the CSS.

#7c3aed
#4faa82
background: linear-gradient(90deg, #7c3aed, #4faa82);

Build a CSS gradient visually — pick two colours, choose linear or radial, set the angle, and copy the ready CSS. The preview updates as you go. Free, no sign-up.

  • ✓Linear and radial gradients
  • ✓Two colours and an angle
  • ✓Live preview
  • ✓Copy the CSS with one click
  • ✓Free — no sign-up

Who it's for

  • Backgrounds and buttons
  • Hero sections and cards
  • Design prototyping
  • Learning CSS gradients

How it works

  1. 1Pick your two colours.
  2. 2Choose linear or radial and the angle.
  3. 3Watch the live preview.
  4. 4Copy the CSS.

Frequently asked questions

How do I make a CSS gradient?+

Use the background property with linear-gradient() or radial-gradient(), passing the direction and your colour stops. This tool writes it for you.

What's the difference between linear and radial?+

A linear gradient blends colours along a straight line at the angle you set; a radial gradient blends outward from the centre in a circle.

Is it free?+

Yes, completely free and runs in your browser.

You may like

Some links may be partner links — how this works