Build linear, radial and conic CSS gradients with multiple color stops and copy the code.

Preview
CSS output
background: ;

Everything runs in your browser — no upload, no sign-up.

Gradient type
deg
Color stops Click the bar to add a stop, drag to move
Selected stop
Stop color
100%
%
Presets

About CSS Gradient Generator

The CSS Gradient Generator builds linear, radial and conic gradients with full visual control. Add color stops by clicking the gradient bar, drag them to reposition, and give each stop its own color, opacity and position. Linear gradients get an angle control; radial ones a shape (circle or ellipse) and position; conic ones a starting angle.

The live preview shows exactly what the browser will render, and a randomize button plus a set of curated presets are there when you need a starting point rather than a blank canvas. Stops can be added and removed freely — a gradient just needs at least two.

When it looks right, copy the bare gradient value or a complete CSS rule. The generator runs entirely in your browser with no upload and no sign-up, making it a quick companion for buttons, hero backgrounds, borders and text effects.

How to use CSS Gradient Generator

  1. Choose the gradient type: linear, radial or conic.
  2. Set the angle (linear), the shape and position (radial), or the starting angle (conic).
  3. Click the gradient bar to add color stops and drag them into position.
  4. Give each stop its color, opacity and exact position.
  5. Try the presets or the randomize button for quick inspiration.
  6. Copy the gradient value or the full CSS rule.

Frequently asked questions

Linear gradients blend colors along a straight line at an angle. Radial gradients radiate outward from a center point as a circle or ellipse. Conic gradients sweep colors around a center point — the type behind pie charts and color wheels.

At least two, with no practical upper limit. Two or three stops make clean backgrounds; tightly spaced stops create hard color bands, which is how striped and segmented effects are built.

Yes — each stop has its own opacity control. A stop at 0% opacity fades the gradient out, which is the standard way to blend a tinted overlay into a photo or fade a hero section into the page background.

Not directly — browsers can’t transition between gradient values. The usual tricks: animate background-position over an oversized gradient, rotate a conic gradient with a custom property, or cross-fade two layered elements.

Yes, free and unlimited. It runs completely in your browser, so nothing you design is stored or transmitted.


Popular searches
css gradient generator linear gradient css generator radial gradient css conic gradient css css background gradient maker gradient color stops tool css gradient angle picker online gradient generator
Need help?
Found an issue with this tool? Let our team know.
Report an issue

Add this free tool to your own website — copy and paste the code below.