Visually build linear, radial, and conic gradients — drag color stops, try presets, preview live, and copy clean ready-to-use CSS.
CSS Gradient Generator: Linear, Radial and Conic Made Easy
Visually build beautiful CSS gradients with draggable color stops, angle control, and hand-crafted presets. Copy clean, production-ready CSS in one click — no design tool required.
Everything renders and copies in your browser. No uploads, no accounts, nothing leaves your device.
Open the page and start designing. Unlimited gradients, unlimited copies, zero friction.
Presets, all three gradient types, and the CSS output are free with no paywall and no watermark.
How to use the gradient generator
- 1Pick a gradient type
Choose Linear for straight blends, Radial for glows that spread from a center point, or Conic for color-wheel sweeps around a center.
- 2Shape your stops
Drag stops along the bar to reposition them, click the bar to add a stop (up to 8), then select any stop to set its color and exact position.
- 3Set the angle
For linear and conic gradients, slide the angle control from 0 to 360 degrees to rotate the blend direction or the starting point.
- 4Copy the CSS
Hit “Copy CSS” to grab the ready-to-paste background declaration, or copy the raw CSS from the code box by hand.
Why designers use this generator
Linear, radial, and conic gradients in one place — conic sweeps are perfect for pie charts, spinners, and color wheels.
Stops are draggable right on the gradient bar, with a color picker and position slider for pixel-exact control.
Start from a hand-picked sunset, ocean, aurora, or candy palette, then tweak it into something of your own.
One declaration, no vendor prefixes, no bloat — the output drops straight into stylesheets, Tailwind arbitrary values, or inline styles.
The big preview box updates with every drag and slider move, so the CSS you copy always matches what you see.
Fully responsive and touch-friendly — build gradients on a phone just as easily as on a desktop.
Frequently asked questions
What is the difference between linear, radial, and conic gradients?
How do I add or remove color stops?
What does the angle control do?
Will the CSS work in all browsers?
Can I use the gradient as a text background or overlay?
background property on any element. For text effects, combine it with background-clip: text. For readability, check your overlay text with our Color Contrast Checker.How do I make a hard-stop (striped) gradient?
Is my work saved anywhere?
Related tools
Verify that text placed over your new gradient passes WCAG AA and AAA contrast levels.
Hex to RGB ConverterConvert hex codes to RGB values for use in rgba overlays on top of gradients.
Meta Tag GeneratorGenerate SEO and social meta tags with live previews for your pages.
JSON Formatter and ValidatorPretty-print and validate JSON before shipping it in your projects.
URL Encoder DecoderEncode special characters in URLs and query strings safely.
