Mesh gradients — those soft, multi-colour “aurora” backgrounds — can be built entirely in pure CSS by layering several radial gradients over a base colour. This generator lets you place and move colour points, then copies the exact CSS with no image files involved.
How it works
Each colour point becomes one radial gradient that fades to transparent, and
they are stacked in a single background-image:
background-color: #1b212d;
background-image:
radial-gradient(at 12% 18%, #ff6b9d 0px, transparent 55%),
radial-gradient(at 82% 22%, #6d8bff 0px, transparent 55%),
radial-gradient(at 28% 82%, #a274ff 0px, transparent 55%);
The base colour shows through the transparent gaps, so choosing a dark or light base changes the whole mood of the mesh.
Tips
- Spread the points toward the corners for a full-bleed blend; cluster them for a soft spotlight.
- Use a randomize pass to explore palettes quickly, then fine-tune the two or three points you like.
- Because it is pure CSS, the gradient stays crisp at any resolution and adds zero extra HTTP requests — ideal for hero sections and cards.
The live preview and all generation run in your browser.