Gradient Generator
ColorsNewCreate linear or radial gradients with up to 5 color stops. Control direction with preset angles or a custom value. Export as CSS background property, Tailwind classes, or SVG markup.
Frequently asked questions
How do I create a CSS gradient background?
Add color stops, choose linear or radial, and set a direction using a preset angle or a custom value. The live preview updates immediately and the CSS background code is generated for you to copy.
Can I export the gradient as Tailwind classes or SVG?
Yes. Besides the raw CSS background property, the tool can export the same gradient as Tailwind utility classes or as SVG markup for use in vector graphics.
Is there a limit to how many color stops a gradient can have?
You can add up to 5 color stops per gradient, each with its own position and color, which covers the vast majority of linear and radial gradient designs.
What is the difference between a linear and radial gradient?
A linear gradient transitions colors along a straight line at a set angle, while a radial gradient radiates colors outward from a center point. The tool lets you switch between both types with the same color stops.