ToolHub

CSS Gradient Generator

Design linear and radial CSS gradients visually with multiple colour stops, live preview, and copy-ready CSS.

CSS

            

About CSS Gradient Generator

Create beautiful CSS gradients visually. Choose linear or radial, set the angle, add as many colour stops as you like, watch the live preview, and copy the ready-to-use CSS.

How to Use

  1. Pick a linear or radial gradient.
  2. Set the angle (for linear) and drag the colour-stop sliders.
  3. Add or remove colours and pick each colour.
  4. Copy the generated CSS into your stylesheet.

Why Use This Tool?

Frequently Asked Questions

What is the difference between a linear and radial gradient?

A linear gradient blends colours along a straight line in a direction you set with the angle. A radial gradient blends outward from a centre point in a circle or ellipse.

How do colour stops work?

Each stop is a colour placed at a percentage position along the gradient (0% to 100%). The browser smoothly blends between them. Add more stops for multi-colour gradients.

Does the CSS work in all browsers?

Yes — linear-gradient and radial-gradient are supported by all modern browsers with no prefix needed. Just paste the generated value as a background.

Is the gradient free to use?

Yes, the CSS this tool generates is yours to use in any personal or commercial project with no attribution.

Related tools