Gradient types
| Type | Looks like | Typical use |
|---|---|---|
| linear-gradient | Colours blend along a line | Backgrounds, buttons, overlays |
| radial-gradient | Colours spread from a point | Spotlights, soft vignettes |
| conic-gradient | Colours sweep around a centre | Pie charts, colour wheels |
Tip: for text over gradients, check contrast against the lightest part of the gradient.
Related tools
Frequently asked questions
How many colours can a gradient have?
As many as you like.
What are stop positions?
Optional percentages saying where each colour sits.
What does the angle mean?
0° goes bottom-to-top, 90° left-to-right, 180° top-to-bottom.
Do I need vendor prefixes?
No – all current browsers support unprefixed gradients.
Why is there a solid background line?
A fallback for very old browsers.
Can I animate gradients?
Not directly; animate background-position or use @property.
Can I make hard edges?
Give two stops the same position.
Does it support transparency?
Yes – use rgba(), hsla() or 8-digit hex.
Can I use OKLCH colours?
Yes, any CSS colour works.
What is a conic gradient?
Colours rotate around a centre, like a pie chart.
Can I layer gradients?
Combine several in one background property, separated by commas.
Do gradients affect performance?
No meaningful impact compared with images.
Can I use a gradient on text?
Yes, with background-clip: text.
How do I make a radial ellipse?
Choose Radial and Ellipse.
Is it free?
Yes – no sign-up and no watermark.
Does anything get uploaded?
No – it all runs in your browser.
Can I use the output commercially?
Yes – the generated code is yours.
Which browsers support the CSS?
All current versions of Chrome, Edge, Firefox and Safari.
Does it work on a phone?
Yes – the tool and preview are responsive.
Can I copy the CSS?
Yes – use the Copy button.
Last reviewed: 8 November 2026.