About the CSS Gradient Generator
Gradients add depth to buttons, hero sections and cards without loading an image. Pick a type, choose your colours and angle, and watch the preview update. The CSS is written for you, ready to paste into any stylesheet.
All modern browsers support these gradients without vendor prefixes.
How to use the CSS Gradient Generator
- Choose linear, radial or conic.
- Pick colours and the angle.
- Copy the background CSS.
Features
- Linear, radial and conic
- Two or three colours
- Angle control
- Live preview
Supported formats
- CSS
Frequently asked questions
Do I need -webkit- prefixes?
No. Unprefixed gradient syntax has been supported by all major browsers for years.
Is anything uploaded?
No. Everything is generated in your browser.