T-57 · Developer tools
Build linear, radial and conic CSS gradients with up to six color stops, preview them live and copy the background CSS with an optional fallback.
Stops are sorted by position and clamped to 0–100%.
About this instrument
Pick a gradient type, set two to six color stops with their positions, and choose an angle or direction for linear gradients, a shape and center for radial ones, or a start angle and center for conic ones. The preview updates as you go, and the CSS is ready to paste as a background declaration, optionally with a solid color line first for very old browsers.
FAQ
Linear blends along a straight line, radial spreads out from a center point as a circle or ellipse, and conic sweeps around a center point like a color wheel.
All current browsers support these gradients. A fallback only helps very old browsers, or shows a color while a gradient is overridden; it does no harm.
The angle of the gradient line: 0deg points up, 90deg to the right and 180deg down, the default.
Related instruments