Linear, Radial and Conic
Switch between the three gradient types with one control.
Design linear, radial and conic CSS gradients visually. Add up to eight color stops, set the angle and copy production-ready CSS.
Pick from presets or generate a random gradient for inspiration. Everything is generated in your browser.
A CSS gradient is a smooth transition between two or more colors, drawn by the browser instead of loaded as an image. Because it is code, it is tiny, scales to any size and never looks blurry.
Linear gradients blend along a line at an angle, radial gradients spread out from a centre point, and conic gradients sweep around a centre like a colour wheel.
Switch between the three gradient types with one control.
Add, remove and position as many stops as you need.
Rotate linear and conic gradients from 0 to 360 degrees.
Start from a preset or roll a random gradient.
Flip the whole gradient in one click.
Clean background code that works in all modern browsers.
Linear, radial or conic.
Choose colors and positions.
Rotate until it looks right.
Paste it into your stylesheet.
Quick answers about using the MoSanKit CSS Gradient Generator.
All modern browsers support linear, radial and conic gradients.
Linear blends along a straight line, radial radiates outward from a centre, and conic rotates around a centre point.
Each stop is a color at a position from 0% to 100%. The browser blends smoothly between stops, and the stops are sorted by position automatically.
Yes. Type a color such as rgba(255,255,255,0) or #ffffff00 in the color box for a fade to transparent.
Up to eight.
No. The CSS is generated entirely in your browser.
Explore more free design and color tools from MoSanKit.