Build linear, radial and conic CSS gradients from scratch with draggable multi-stop control and curated presets. Copy ready-to-paste CSS instantly.

Live preview
Presets
Gradient type
Angle
°
Color stops
Drag a handle to move a stop, or click the bar to add one. Select a stop to edit its color.
Selected stop
%
CSS
background: ;

Everything is computed live in your browser — no sign-up, completely free.


About Gradient Generator

The Gradient Generator builds custom CSS gradients from scratch. Choose a linear, radial or conic type, set the angle, and shape the blend with a multi-stop editor: drag handles to move stops, click the bar to add new ones, and recolor any stop with a picker — the live preview updates as you work.

Curated presets give you a strong starting point when you don’t want to begin from a blank slate, and one-click actions — random, reverse, rotate 45° — make exploration fast. The generated CSS is always visible and stays in sync with the preview, so what you copy is exactly what you saw.

Everything is computed live in your browser at no cost. Copy the full CSS rule or just the background value and paste it into a stylesheet, a button style or a hero section — a straightforward CSS gradient generator for backgrounds, overlays and UI accents.

How to use Gradient Generator

  1. Pick a gradient type: linear, radial or conic.
  2. Start from a preset or click "Random" for an instant starting point.
  3. Drag the stop handles to position colors, click the bar to add stops, and edit each stop’s color.
  4. Adjust the angle, or use "Reverse" and "Rotate 45°" to reorient the blend.
  5. Copy the CSS rule or the background value and paste it into your project.

Frequently asked questions

Yes. The tool is fully client-side — no sign-up, no credits and no limits on how many gradients you build or copy.

A linear gradient blends colors along a straight line at your chosen angle. A radial gradient radiates outward from a center point in circles. A conic gradient sweeps colors around a center point like a pie chart, which is great for color wheels and progress rings.

A gradient needs at least two stops, and you can keep clicking the bar to add more. Each stop has its own color and draggable position, so complex multi-color blends are easy to build.

Linear and radial gradients are supported everywhere. Conic gradients are supported in all modern browsers but not in very old ones, so provide a fallback background-color if you need to support legacy versions.

Yes — use the companion Gradient Generator from Image tool, which extracts the dominant colors of an uploaded picture and turns them into editable gradient stops. This tool is the from-scratch counterpart.


Popular searches
gradient generator css gradient maker linear gradient generator radial gradient maker conic gradient css free 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.