Color Palettes

Mesh gradient generator

Soft, aurora-style backgrounds for your website. Drag the color points, add grain, and copy the CSS or download the image.

Tap the background to add a point · drag to move itSpace random · Del delete point
CSS

Backgrounds that look like light

A mesh gradient blends several colors from different points instead of in a single direction like a linear gradient. The result is a soft background that looks like light or an aurora, and it works beautifully in a website header, a presentation or a social media post.

Website headersThe background of the first section of a landing page or portfolio.
PresentationsTitle slides and section dividers in 16:9 or 4:3.
Social mediaSquare posts, 9:16 stories and Open Graph images.
WallpapersDownload it in 4K for your computer or in portrait for your phone.

How to use it

Pick a style or press Random (on a computer, the space bar works too). Drag the points to move each color, tap the background to add a new one, and change its color and size in the panel. Turn on “Text on top” to check that a headline is easy to read and, once you like it, copy the CSS or download the image.

CSS ready to paste

The background is built from layers of radial-gradient, so the CSS you copy is exactly what you see. If you turn on the animated version, the colors drift slowly using pure CSS, no JavaScript. Grain is added as a very light noise layer that prevents banding in the gradients.

Frequently asked questions

What is a mesh gradient?

It's a background where several colors melt into each other from different points, instead of running from one side to the other like a linear gradient. It gives that soft, light- or aurora-like look used by many modern websites.

Does the CSS work in every browser?

Yes. It's built from several layers of radial-gradient, which work in all current browsers. The animated version uses @property, supported by recent versions of Chrome, Edge, Safari and Firefox.

What is the grain for?

A very subtle noise texture prevents the banding you sometimes see in gradients and gives a warmer finish, like paper or film. You can turn it up, down or off.

What sizes can I download?

PNG or SVG, in the format you choose (16:9 web, 4:3 slide, 1:1 post, 9:16 story, 1200 × 630 Open Graph and 21:9 ultrawide), up to 4K.

Can I save or share my design?

Yes. Press Link to copy a URL with your exact gradient: opening it loads the design as is, so you can keep editing it or send it to someone else.

Can I use the backgrounds in commercial projects?

Yes, the backgrounds you create are yours: use them on websites, in presentations, on social media or as wallpapers.

More guides and tools

Try this next

Name color paletteType a name and get your own color story paletteColor PlinkoDrop chips, bounce down the pegs, get a paletteGradient color paletteThe in-between shades of two colors, ready to copy
See all free tools →