90
0
0%
100
100%

A CSS gradient blends two or more colors along a line (linear-gradient) or outward from a center point (radial-gradient). Each color stop sets a color and the percentage position along that gradient where it should appear.


Adjust the type, angle and stops to preview the result live, then copy the generated background CSS directly into your stylesheet.

Frequently asked questions

What's the difference between linear and radial gradients?

A linear gradient blends colors along a straight line at a chosen angle; a radial gradient blends them outward from a center point in a circle.

How many color stops can I add?

Up to 8, with a minimum of 2 — enough for most real-world gradients without cluttering the UI.

Can I use this gradient as a background image instead of a solid background?

Yes — the generated value is a valid CSS gradient function, so you can drop it into background, background-image, or anywhere else a CSS <image> value is accepted.

Related tools

Cubic Bezier Generator — Visualize and generate CSS cubic-bezier easing curves
Box Shadow Generator — Design and generate CSS box-shadow values
JSON to TypeScript — Generate TypeScript interfaces from a JSON sample
IP Subnet Calculator — Calculate IPv4 subnet ranges from CIDR notation

Guides & comparisons


Main page