Gradient Generator
Create linear, radial and conic gradients with 2–5 colors and custom angles. Live preview, presets, random (Space), Tailwind + CSS output, PNG download. Hit Space to randomize.
Direction & shape
Color stops (2)
CSS output
Download Gradient
Choose a format to preview, then download
What is a gradient generator?
Smooth color transitions, zero images
A gradient blends two or more colors along a line, from a center, or around a point. Browsers render it as crisp resolution-independent CSS, perfect for heroes, buttons, cards and overlays with zero network requests.
This tool goes beyond 2-color basics: linear + radial + conic types, up to 5 stops with positions, 8 presets, random inspiration, Tailwind arbitrary classes, and PNG export, all local in your browser.
How to use
01
Pick type & colors
Linear, radial or conic. Edit each stop with picker, HEX or 0–100% slider. Add up to 5, remove down to 2.
02
Set direction
Angle slider + 45° presets for linear/conic, shape + position for radial. Try presets or Space for random.
03
Copy & ship
Copy CSS or Tailwind, download CSS+PNG, or share the URL, stops and angle persist in ?type=&angle=&stops=.
Real-life examples
Hero backgrounds: 135deg indigo→pink
Diagonal 2-color washes stay readable under white text and compress to one CSS line. Start from the Indigo Pink preset.
Buttons & CTAs: 90deg 3-stop
Sunset-style triples add depth to small elements. Keep middle stop near 50% for even blends on hover states.
Glows & spotlights: radial
Radial ellipse at top creates soft aurora behind cards. Pair with dark surfaces for contrast-safe overlays.
Progress rings: conic
Conic from-angle sweeps suit pie charts and loaders. Two stops with hard positions give segmented rings.
Tailwind shipping
Copy the arbitrary bg-[linear-gradient(...)] class straight into markup, or save the config snippet for repeated use.
Social & OG images
Download 1200×630 PNG snapshots for covers, thumbnails and placeholders without opening a design tool.

