Design CSS gradients with live preview and copy the code.
This gradient maker builds CSS linear and radial gradients visually: add color stops, drag their positions, set the angle or radial shape, and watch the live preview update. When it looks right, one click copies the exact background CSS — no syntax to remember.
A classic two-stop linear gradient at 135° from #667eea to #764ba2 produces the familiar blue-violet diagonal used on countless landing pages. The copied CSS is a single declaration — background: linear-gradient(135deg, #667eea 0%, #764ba2 100%); — which you can paste onto any element. Add a third stop in the middle and pull it toward one end to bias the blend.
Linear gradients blend colors along a straight line at the angle you choose; radial gradients blend outward from a center point in a circle or ellipse. Linear suits banners and buttons; radial suits spotlight and vignette effects.
As many as you like, though two or three usually look cleanest. Each stop has a position from 0% to 100% along the gradient line — clustering stops close together creates hard bands, spreading them apart creates smooth blends.
Large areas blending two similar dark colors can show visible steps, an artifact of 8-bit color. Fixes: pick endpoints slightly further apart in lightness, shorten the gradient area, or add a subtle intermediate stop.
Yes — unprefixed linear-gradient and radial-gradient have been supported in every major browser for over a decade. No vendor prefixes needed.