background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%);
How to use
Choose the gradient type
Switch between the Linear, Radial, and Conic tabs. Linear and conic expose an angle slider from 0 to 360 degrees, while radial always draws a circle from the center.
Set your color stops
Start from the two defaults and add up to six stops total. Each one takes a hex color and a 0 to 100 percent position, with a Remove link once you have more than two.
Copy the CSS
The output block shows the complete rule, for example background: linear-gradient(135deg, #6366F1 0%, #8B5CF6 100%); and the copy button grabs the whole line.
Why Gradient Preview
- All three modern gradient types in one place.
- Live preview updates as you tweak.
- Outputs standards-compliant CSS.