Toolzy

CSS Gradient Generator

Create linear and radial CSS gradients visually.

background: linear-gradient(90deg, #6366f1, #ec4899);

Design a CSS gradient with a live preview and copy the ready-to-use background code.

How to use

  1. Choose linear or radial.
  2. Pick the colors and angle.
  3. Copy the CSS.

Frequently asked questions

Can I add more color stops?
This generator uses two stops; you can extend the copied CSS by hand.
Where does the CSS go?
Use it as the value of the background or background-image property.

Related tools