Create CSS gradients visually — pick colors and stops, adjust the angle, and copy production-ready CSS. Free, and the editor runs entirely in your browser. Gradients are the cheapest visual depth on the web: zero image weight, perfectly sharp at any resolution, and animatable. Hand-writing gradient syntax means guessing at angles and stop percentages; a visual editor gives immediate feedback and emits the exact linear-gradient() or radial-gradient() rule. The table recaps the gradient types CSS offers and the syntax each uses.
| Type | Syntax sketch |
|---|---|
| Linear | linear-gradient(135deg, #7C3AED, #EC4899) |
| Radial | radial-gradient(circle at center, #7C3AED, #1E1B4B) |
| Conic | conic-gradient(from 0deg, #7C3AED, #EC4899, #7C3AED) |
You can create linear, radial, and conic gradients. Each type supports custom colors, angles, and positions.
Yes! Simply copy the CSS code and paste it into your stylesheet. The output is standard CSS that works in all modern browsers.
CSS gradient generation calculates color transitions using linear interpolation in RGB or LAB color space between your selected stops. Linear gradients define a direction vector (angle in degrees or keywords like to bottom), while radial gradients use circle/ellipse shapes with configurable center positions and size extents (closest-side, farthest-corner). The tool computes intermediate color values at each stop percentage, then constructs the background-image CSS string with proper vendor prefixes for older browsers. Advanced features include multi-stop gradients (more than 2 colors), easing function interpolation beyond linear (using cubic-bezier curves), and live preview rendering that updates as you adjust stop positions, colors, or gradient type.