Stops are sorted by position
The generated declaration orders stops from 0 through 100 percent even if the controls were edited in another sequence. At least two stops are retained.
Create linear, radial, and conic CSS gradients with a visual editor and code output.
Select linear, radial, or conic gradient style.
Add colors and adjust their positions along the gradient.
Rotate or reposition the gradient direction as needed.
Click copy to grab the gradient CSS for your stylesheet.
The gradient editor produces a live CSS background from ordered color stops. Linear and conic gradients accept an angle; radial gradients accept a circle or ellipse shape. Stops can be added, removed, recolored, and repositioned before copying either the gradient value or a complete background declaration.
A concrete input and expected output from the current implementation.
Input
Linear, 90 degrees, #C49000 at 0%, #111117 at 100%
Expected output
background: linear-gradient(90deg, #C49000 0%, #111117 100%);
The first color begins at the left side for this angle and interpolates through sRGB toward the final dark color.
The generated declaration orders stops from 0 through 100 percent even if the controls were edited in another sequence. At least two stops are retained.
Linear gradients follow an axis, radial gradients expand from a center, and conic gradients rotate around a center point. The same stops can therefore produce very different visual transitions.
It locates that color stop along the gradient line or path. The browser interpolates colors between neighboring stops.
CSS gradient angles define direction in a coordinate system. Moving from 90 to 270 degrees points the gradient axis the opposite way.
The example and behavioral notes were checked against the browser implementation. Standards and primary references below define the relevant format, formula, or platform behavior.
Pick colors visually and convert between HEX, RGB, HSL, and CMYK formats.
Preview how screen colors translate to print with CMYK simulation and proofing.
Preview any Google Font at various sizes, weights, and with custom sample text.
Generate harmonious color palettes from a base color using color theory rules.
Simulate how colors appear to people with various types of color vision deficiency.
Design box shadows visually with multiple layers and copy the CSS code.