How to use CSS Gradient Generator
- Choose linear or radial.
- Pick two colours, their stops and the angle.
- Copy the CSS.
Supported features and limitations
Generates standard gradients supported by all modern browsers, without vendor prefixes.
Privacy
Everything you type is processed locally in your browser and is not sent to our servers. No account is needed and there is no watermark.
Frequently asked questions
How do I make a diagonal gradient?
Set the angle to 45° or 135° in a linear gradient.
Can I use three colours?
This tool creates two-colour gradients; add more stops to the copied CSS by hand.
Related tools
- Box Shadow Generator - Design a CSS box-shadow with offsets, blur, spread, colour, opacity and inset, and preview it live.
- Border Radius Generator - Set each corner’s radius and copy the CSS border-radius shorthand, with a live preview.
- Color Converter - Convert between HEX, RGB and HSL colours.
- JSON Formatter & Validator - Format, minify and validate JSON with clear errors.
- URL Encoder / Decoder - Encode or decode URLs and query strings.
- Password Generator - Create strong random passwords in your browser.