About this tool
Add colour stops, drag their positions and set the angle (linear) or shape (radial: circle or ellipse); conic sweeps around the centre. Any gradient can repeat, and four presets (Sunrise, Ocean, Forest, Himal) give you a starting point.
The code box shows the full CSS — a solid first-stop fallback line plus the gradient declaration — so what you copy works even in a renderer without gradient support. Up to 8 stops, positions 0–100.
How to use it
- Pick Linear, Radial or Conic, and toggle Repeating if you want.
- Set the colours, their positions and the angle or shape.
- Copy the CSS from the code box and paste it into your stylesheet.
Frequently asked questions
How many colour stops can a gradient have?
Up to 8, each positioned between 0 and 100 percent.
What is the extra “background” line in the CSS?
It is a solid-colour fallback using your first stop, so the background still looks sensible where gradients are unsupported.
Does it work without internet?
Yes. Open this page once while you are online; after that it keeps working without internet. We tested this with the network switched off.
Are my files uploaded?
No. This tool runs in your browser on your device, so what you enter or open here is not sent to our server.
Is it free?
Yes. This tool is free to use and needs no account.