Build a CSS linear-gradient from an angle and a list of colours.
Gradient Generator
Build a CSS gradient from an angle and a list of colours.
- Free
- No sign-up
- Runs in your browser
Input
Two or more hex colours, comma-separated.
Fill in Colours (comma-separated) to continue.
Enter your input to see the result
Everything happens on this device. No upload, no account, no network request.
How to use this tool
- 1
Enter the angle and two or more hex colours.
- 2
The result is a linear-gradient value ready to paste.
Questions about Gradient Generator
Is anything sent anywhere?
No. The conversion runs entirely in your browser; the colours never leave the page.
Does the Gradient Generator work offline?
Yes. Once the page has loaded it runs entirely as JavaScript on your own device, so the Gradient Generator keeps working with the network switched off and nothing is ever sent to a server.
Is anything I enter into the Gradient Generator uploaded or stored?
No. The Gradient Generator runs in your browser, so whatever you type or paste never leaves your device — there is no server round-trip, nothing is logged, and there is nothing to delete afterwards.
Can I use the Gradient Generator on a phone or tablet?
Yes. The page is responsive, so the Gradient Generator works the same in a mobile browser as on a desktop, and there is no app to install.
Is the Gradient Generator free, and do I need an account?
It is free and needs no sign-up. Open the page and use it — there are no accounts, paywalls or limits tied to logging in.
Related tools
Other tools you might reach for next.
Convert a hex colour to RGB, with the colour in all common formats.
Convert an RGB colour to a hex code.
Convert a hex colour to HSL (hue, saturation, lightness).
Convert an HSL colour to a hex code.
Convert an RGB colour to HSL.
Convert an HSL colour to RGB.
Convert an RGB colour to CMYK (for print).