CSS Gradient Generator

Design linear and radial CSS gradients and copy the code. Free.

 

How to use

  1. Pick two or three colors.
  2. Choose linear or radial and set the angle.
  3. Copy the CSS code into your stylesheet.

FAQ

Does this work in all browsers?

Yes. linear-gradient and radial-gradient work in every modern browser without prefixes.

How do I use the code?

Paste it inside a CSS rule, for example on a button or a page section.

Can I add more colors?

Turn on the third color. You can also edit the code to add more stops.

Related tools