Create a CSS linear, radial, or conic gradient from colors and stops.
The frame below runs the same code as this page, in the reader's own browser. Nothing is sent to us, and nothing is sent to you.
Pick a dark background and the text and panels follow it, so the frame stays readable on a dark page.
Color stops and optional angle or shape become gradient function syntax; omitted positions are interpolated by CSS Images rules. The result is a background image rather than a flat color.
Type: linear Direction: to right Colors: #ff6b6b, #feca57, #48dbfb Repeating: false
/* Gradient */
.gradient {
background: #ff6b6b; /* Fallback */
background: linear-gradient(to right, #ff6b6b, #feca57, #48dbfb);
background: -webkit-linear-gradient(to right, #ff6b6b, #feca57, #48dbfb);
}
Hero backgrounds, button states, and visualizations generate gradients.