CSS Gradient Generator

Create beautiful linear and radial CSS gradients visually. Add multiple color stops, adjust angles, and copy the code with one click.

Linear & RadialMulti-StopCopy CSS
Preview
About CSS Gradients

How to Use CSS Gradients

CSS gradients let you display smooth transitions between two or more colors. They're rendered by the browser (not images), so they scale perfectly at any resolution and load instantly. The two main types are linear-gradient (colors transition along a straight line) and radial-gradient (colors radiate from a center point).

How to Use This Tool

  1. Choose gradient type (linear or radial)
  2. For linear, adjust the angle with the slider
  3. Pick colors using the color pickers and set position percentages
  4. Add more color stops with the "+ Add" button
  5. Copy the generated CSS code with one click

Gradients are widely supported across all modern browsers. For reference, see the MDN CSS gradient documentation.

For more developer tools, check our Color Picker and Regex Tester.

Frequently Asked Questions

What types of CSS gradients are supported?
Both linear (customizable angle) and radial (circle/ellipse) gradients are supported with up to 8 color stops.
Can I use the generated CSS in any project?
Yes. Standard CSS that works in all modern browsers. No vendor prefixes needed.
How do I add more color stops?
Click "+ Add Color Stop" to add up to 8 colors. Each has a color picker and position control.