CSS Gradient Generator

Create linear and radial CSS gradients visually · Copy code with one click

Preview
Angle135°
Color Stops
0%
100%
CSS Code
background: linear-gradient(135deg, #6366f1 0%, #a855f7 100%);
Presets

What is a CSS Gradient Generator?

A CSS gradient generator lets you create gradient backgrounds visually and instantly gives you the CSS code to use in your project. Instead of writing gradient syntax manually, you pick colors, adjust the angle and copy the code.

Frequently Asked Questions

What is a linear gradient in CSS?

A linear gradient transitions between colors along a straight line at a given angle. For example, linear-gradient(135deg, #6366f1, #a855f7) creates a diagonal purple gradient.

What is a radial gradient in CSS?

A radial gradient transitions colors outward from a central point in a circular or elliptical shape, creating a glow or spotlight effect.

How many color stops can I add?

You can add up to 5 color stops. Each stop has a color and a position (0–100%) that controls where that color appears in the gradient.

Can I use this gradient in Tailwind CSS?

Yes. Copy the CSS value and use it as an inline style or add it to your Tailwind config as a custom background utility.

Is this gradient generator free?

Yes, completely free. No signup needed. Generate unlimited gradients and copy the CSS code instantly.