Skip to content
Linear · radial · conic · multi-stop · CSS export

Gradient Palette Creator

Build production-ready gradients — linear, radial or conic, any number of stops, any angle — with a live preview and copy-paste CSS. No muddy midpoints, no guesswork.

01 · Compose the gradient
angle135°
0%
100%
02 · Deep analysis

CSS output & variations

CSS
background: linear-gradient(135deg, #6366f1 0%, #ec4899 100%);

Tip: for blends between saturated colors, prefix with in oklch (CSS Color 4) to avoid the gray midpoint sRGB produces.

Same stops, every type
linear
radial
conic

Text over a gradient must pass contrast at its lightest and darkest point — verify the worst case in the Accessibility Checker.

Field notes

A gradient is a path through color space

A gradient isn't just two colors and a direction — it's a path the renderer walks from one stop to the next, and where that path travels through color space decides whether the result looks rich or muddy. By default CSS interpolates in sRGB, which draws a straight line between colors in a non-perceptual space; blend two saturated complements that way and the line passes through the desaturated gray at the center, which is why so many amateur gradients have a dishwater middle. The fixes are to steer the path with an intermediate stop in a brighter related hue, choose analogous colors that never cross the gray zone, or tell CSS to interpolate in a perceptual space with in oklch — the modern, cleanest answer.

The three gradient types are three different geometries of that path. Linear walks it along a straight line at your chosen angle — the workhorse for backgrounds and buttons. Radial radiates it outward from a center, which is how you build spotlights, glows and depth. Conic sweeps it around a center like a clock hand, which is what makes color wheels, pie charts and loading rings. Same stops, three very different results — the deep-analysis panel shows all three at once so you can feel the difference.

Then there's legibility, the thing gradients quietly break. Contrast for any text on a gradient is governed by the worst point the text crosses, not the average, so a hero that looks fine in the middle can fail where the gradient is lightest or darkest. The robust patterns are to keep the gradient within a narrow lightness band behind text, drop a translucent scrim between gradient and text, or position text only where contrast holds — and to test the extreme stops, not eyeball the midpoint.

So build the gradient here — pick the geometry, place the stops, dial the angle, and copy the CSS straight into your stylesheet or a Tailwind arbitrary value. Source the stop colors from a coherent set in the Palette Generator, read any stop in every format with the Converter, and verify overlay text in the Accessibility Checker.

CSS Gradient FAQs

Have more questions? Contact us

Trusted by Web & Product Designers

4.8
Based on 3,290 reviews

Multi-stop with live angle and all three gradient types in one place, plus copy-paste CSS — this is the gradient tool I keep open. The note about sRGB muddiness and the in-oklch fix is the kind of detail most generators never mention. Presets are tasteful, not garish.

C
Camille Dubois
Web designer
June 15, 2026

Conic + radial + linear with a real stop editor and instant CSS that drops straight into Tailwind arbitrary values. The accessibility reminder for text overlays saved a hero section. Fast, in-browser, clean — a proper instrument.

R
Ravi Shah
Front-end developer
May 30, 2026

Adding stops and nudging positions is smooth, and switching gradient type keeps my colors. Would love drag-on-the-bar stop editing, but the sliders are precise enough. The spectrum conic preset is a great starting point for loaders.

L
Lena Fischer
Product designer
April 12, 2026

Exports exactly the CSS I need, including conic with a from-angle. Pairs perfectly with the palette generator — build a harmony, then blend it into a gradient. The muddy-midpoint explanation finally made me switch to oklch interpolation.

M
Marco Bianchi
UI engineer
January 26, 2026

Love using our calculator?

Connected instruments

Related color tools

Learn More

Related Articles

Dive deeper with our expert guides and tutorials related to Gradient Palette Creator

Loading articles...

linear / radial / conic · unlimited stops · copy-paste CSS · tip: interpolate in oklch for clean blends · Last reviewed: 2026-06