Gradients

Gradient Generator

Design linear, radial and conic gradients in your browser with unlimited color stops. Copy the CSS directly or download a PNG. Everything runs locally — no uploads, no signup.

° 90°

Presets

Color stops

CSS output

background: linear-gradient(90deg, #267D70 0%, #8BAF9E 100%);

JSON output

Gradient types explained

Linear gradient

Colors transition along a straight line. The angle determines the direction — 0deg points up, 90deg points right, 180deg points down. Linear gradients are the most common type in modern UI.

Radial gradient

Colors transition outward from a center point in a circle or ellipse. Radial gradients are used for spotlight effects, vignettes, and soft background glows.

Conic gradient

Colors transition around a center point, like a pie chart. Conic gradients are great for progress rings, pie charts, color wheels and playful UI accents.

Best practices for gradient design

  • Keep two adjacent stops at similar perceived lightness to avoid muddy transitions.
  • For UI, add a mid-stop that pushes the transition toward the darker color — this prevents the "gray middle" problem.
  • Gradients over text must always be tested with a Contrast Checker.
  • Test on mobile — the same gradient can look very different on a narrow screen.

FAQ

Does my gradient get uploaded?
No. Everything is calculated in your browser using the CSS Color Module Level 3 gradient syntax.
Can I export the gradient as an image?
Yes. Use the "Download PNG" button. The PNG is generated locally with the HTML Canvas API and never leaves your device.
Is the CSS output production-ready?
Yes. All output uses standard CSS Color Module Level 3 syntax that works in every modern browser, including Safari, Chrome, Firefox and Edge.

Related tools

Related articles