More in this category

CSS Gradient Generator

Build beautiful linear and radial CSS gradients. Add color stops, tune the angle, preview live and copy the ready-to-use CSS. Free, private, browser-based.

All processing happens locally in your browser. Files are never uploaded.

Color stops

Generated CSS

background: linear-gradient(90deg, #6366f1 0%, #ec4899 100%);

Introduction

CSS Gradient Generator lets you design backgrounds visually and get the exact CSS. Switch between linear and radial gradients, add as many color stops as you need, drag the angle for linear gradients, and copy the declaration straight into your stylesheet. The preview updates as you tweak.

Features

  • Linear and radial gradient modes
  • Add and remove up to 12 color stops
  • Fine-tune the angle from 0 to 360 degrees
  • Set each stop position in percent
  • Live preview and one-click CSS copy

How to use

  1. 1Choose Linear or Radial at the top.
  2. 2Adjust the angle slider for a linear gradient.
  3. 3Add or remove color stops and pick each color and position.
  4. 4Copy the generated CSS declaration into your project.

Frequently asked questions

Related tools