All toolsCategoriesAboutContactPrivacy
Color & Design Tools

CSS Gradient Generator

Choose a gradient type, add colour stops and drag their positions. The preview updates instantly and the CSS is ready to paste into a stylesheet. Every value is plain CSS, so there is nothing to install.

Updated · Free · No sign-up · Runs on your device

Loading the tool…

How to use it

  1. Choose linear, radial or conic.
  2. Adjust the angle and the colour stops.
  3. Copy the generated background rule.

Who it helps

Web designers building a hero section, developers prototyping a theme, and anyone who needs a gradient without opening a design tool.

Worked example

linear-gradient(135deg, #4f46e5 0%, #06b6d4 100%) creates a diagonal indigo-to-cyan background.

Limitations

Generates standard CSS gradients. Older browsers may not support conic gradients, and very colourful gradients can band on 8-bit displays.

Privacy

What you type or paste is processed in memory in this tab. It is not sent to a server, and nothing is saved after you close the page unless the tool says otherwise.

FAQ

Can I add more colours?

Yes, up to five stops. Drag the position slider to control where each colour sits.

Quick facts

Category
Color & Design Tools
Works on
Phone, tablet and desktop
Account
Not required
Price
Free
Data
Stays on your device
Updated