Free tool

CSS gradient generator

Pick two colors, set an angle, and get production-ready CSS with a live preview. Start from a curated preset or dial in your brand colors.

From color
To color
Angle135°

Your gradient

Live preview — updates as you edit

Curated presets

CSS output

background: linear-gradient(135deg, #8B5CF6, #06B6D4);

Paste this into any CSS rule. For Figma, recreate the gradient with the same two hex values and angle.

Gradients that look designed, not dated

  • Keep contrast between the stops. Subtle blends (nearby hues) read as premium; violent opposites read as early-2010s. Save the drama for small accent areas.
  • Mind text on top. Always test body copy against both ends of the gradient — one stop can pass contrast while the other fails.
  • Use diagonals. 120–150° angles give the most natural, dimensional look. Straight vertical or horizontal blends tend to feel flat.

Frequently asked questions

Get unlimited professional design

One flat monthly fee. Unlimited design requests, unlimited revisions, delivered in 1–2 business days.

No contracts · No setup fees · Pause or cancel anytime