CSS Gradient Generator

Design smooth backgrounds visually: pick a gradient type, set the angle, tune up to three color stops and copy the finished background rule straight into your stylesheet.

Last updated: · Runs 100% in your browser

// controls
Presets
135deg
0%
100%
Live preview
Generated CSS
.gradient {
  background: #00ff66;
  background: linear-gradient(135deg, #00ff66 0%, #0066ff 100%);
}

// Example output

.gradient {
  background: #00ff66;
  background: linear-gradient(135deg, #00ff66 0%, #0066ff 100%);
}

// Features

  • ▸Linear, radial and conic gradients
  • ▸Up to three color stops with positions
  • ▸8 presets including Sunset, Neon and Aurora
  • ▸Randomize for fresh ideas
  • ▸Shareable link to your gradient

// How to use

  1. 01Adjust the controls on the left or pick a preset to start the CSS Gradient Generator.
  2. 02Watch the live preview update instantly as you change each setting.
  3. 03Fine-tune the generated CSS by hand in the code panel if you like.
  4. 04Click Copy CSS or Download CSS, or Share to send a link to your design.

// FAQ

Your data never leaves your browser. This tool runs 100% locally — no upload, no logging, no analytics on your inputs.

// Related tools