Make beautiful gradients in seconds
Gradients are a staple of modern design: app backgrounds, landing page heroes, buttons, slides, social graphics and phone wallpapers all use smooth colour blends to add depth and energy. This gradient generator lets you design one visually and take it anywhere, either as CSS code for the web or as a high-resolution image for everything else.
Linear, radial and conic gradients
- Linear gradients blend colours along a straight line. The angle sets the direction: 90° runs left to right, 180° top to bottom, and 135° is the popular diagonal.
- Radial gradients spread outward from the centre in a circle, great for spotlights and soft glows.
- Conic gradients sweep around the centre like a colour wheel, useful for pie-chart effects and vivid abstract backgrounds.
Using the CSS
The copied code sets a solid background-color fallback followed by background-image with your gradient, supported by every current browser. Paste it into any CSS rule, such as a hero section or a button. For text gradients, add -webkit-background-clip: text and a transparent text colour.
Why add grain?
Smooth gradients between similar colours can show visible bands, especially on large screens and after compression. The anti-banding option adds very fine, almost invisible noise to the downloaded image, which hides the steps and makes the gradient look perfectly smooth. Grain makes PNG files several times larger, so it is off by default; switch it on for big wallpapers and leave it off for small, flat graphics.
Need a matching solid colour from a photo? Grab it with the Colour Picker. Want to show off a screenshot on your new gradient? Try the Screenshot Beautifier.
Picking colours that work together
Gradients look most natural when the colours are neighbours on the colour wheel, such as blue to purple or orange to pink. For high-contrast pairs, add a third stop in between to avoid a muddy middle. Keep text readable by placing it over the darker end, or add a semi-transparent overlay. The presets are a good starting point for brand-friendly combinations.