Linear, radial and conic: which one to use
A linear gradient changes color along a straight line. Its direction is an angle: 0deg runs from bottom to top, 90deg from left to right, and 180deg, the default, from top to bottom, as the W3C CSS Images specification defines it. It suits backgrounds, buttons and headers. A radial gradient spreads out from a center point as a circle or an ellipse; it suits spotlights, glows and soft vignettes. A conic gradient turns around a center like the hands of a clock, so the color changes with the angle rather than the distance; it draws pie charts, color wheels and loading rings. Conic gradients are defined in the newer CSS Images Module Level 4, a Working Draft dated 30 September 2025, and current browsers support them. Linear and radial gradients come from Level 3, a Candidate Recommendation Draft dated 18 December 2023. We opened both on 23 October 2026.
Color stops, hard edges and repeating patterns
Each color stop is a color and a position along the gradient, from 0% to 100%. Between two stops the color blends smoothly. If two stops share the same position, the color changes suddenly instead, which gives sharp stripes or flag-like bands. Lowering a stop's opacity lets whatever is behind show through, which is useful for fading a photo into a page color. Turning on "Repeat the pattern" uses repeating-linear-gradient(), repeating-radial-gradient() or repeating-conic-gradient(): the part between the first and last stop is repeated to fill the whole box, so the Stripes preset, with stops at 0, 5 and 10 percent, becomes a striped background.
The CSS you get, and the PNG download
The CSS sets background-color to your first stop before background-image, so if a gradient ever fails to draw, the box still has a color behind its text. Colors without transparency are written as HEX; colors with opacity use the rgb() form with a slash and the alpha value. For the PNG, the same gradient is painted on a canvas inside your browser using the CSS geometry: a linear gradient line long enough to reach the corners, and radial shapes sized to the farthest corner, the CSS default. Gradients are blended in sRGB, as browsers do by default, so the PNG and the CSS look the same. A Full HD image is ready in a fraction of a second.
Accessibility and design tips
Text on a gradient must be readable at every point, not just where the background is darkest. Check the contrast of your text against both the lightest and the darkest stop with the color converter's WCAG check. Keep important text away from bright bands, and add a solid or semi-transparent layer behind long text. Gradients with many saturated stops can look busy; two or three related colors usually look cleaner. To pull exact colors from a logo or photo first, use the image color picker.