💻 Developer Tools Web Design Tool

CSS Gradient Generator

135°
Stop 0%
Stop 100%
Live Preview
background: #6366f1; /* fallback for old browsers */
background: -webkit-linear-gradient(135deg, #6366f1 0%, #ec4899 100%);
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);

How to use CSS Gradient Generator Online

  1. Choose between a Linear (straight line) or Radial (circular) gradient.
  2. If using Linear, adjust the angle slider to change the direction of the gradient.
  3. Click on the color boxes to pick your two blend colors.
  4. Adjust the 'Stop' sliders to change how much of each color is shown.
  5. Copy the cross-browser CSS code to your clipboard.

Features

Fallback Support
The generated CSS code automatically includes a solid color fallback for extremely old browsers, ensuring your design never breaks.

Frequently asked questions

What is a color stop?

A color stop indicates where a specific color reaches its full intensity before it starts blending into the next color. Moving it closer to 50% creates a harder edge.

Free, no sign-up. Your files and numbers are processed in your browser and are not uploaded.

Related tools

View all

Share this Tool

Did CSS Gradient Generator work well for you?