All Tools › CSS Gradient Generator

CSS Gradient Generator

Design a gradient and copy the CSS.

Design a CSS gradient visually

Hand-writing gradient CSS means guessing at colour stops and angles and reloading to check. This generator lets you pick colours, positions, and direction and shows the gradient live, then gives you the exact CSS to copy. It's the fast way to land on a background that looks right without trial and error in your stylesheet.

How to use it

  1. Choose your colours and their stop positions.
  2. Set the type and angle — linear or radial.
  3. Copy the generated CSS into your stylesheet.

Tips

Questions people ask

Can I use more than two colours? Yes — add stops to create multi-colour gradients, each with its own position.

Is anything uploaded? No — the preview and CSS are generated in your browser.