Mesh Gradient Generator

Mesh gradients are the soft, glowing blends of several colours seen on modern app and startup sites. Here each colour is a point you place and spread over a base colour; the points melt into each other. Shuffle the layout, pick a palette, drag the points, add film grain, then copy the CSS or download the design as an image at any size.

Format
Style
Palettes

A light noise texture that hides banding in smooth gradients

CSS
.hero {
  background-color: #0B1026;
  background-image: url("data:image/svg+xml,%3Csvg xmlns='http://www.w3.org/2000/svg' width='220' height='220' viewBox='0 0 220 220'%3E%3Cfilter id='n' x='0' y='0' width='100%25' height='100%25'%3E%3CfeTurbulence type='fractalNoise' baseFrequency='0.8' numOctaves='3' seed='1' stitchTiles='stitch'/%3E%3CfeColorMatrix type='saturate' values='0'/%3E%3C/filter%3E%3Crect width='100%25' height='100%25' filter='url(%23n)' opacity='0.18'/%3E%3C/svg%3E"), radial-gradient(63% 63% at 72% 4%, #22D3EE 0%, transparent 100%), radial-gradient(64% 64% at 7% 76%, #A855F7 0%, transparent 100%), radial-gradient(56% 56% at 49% 16%, #34D399 0%, transparent 100%), radial-gradient(48% 48% at 55% 19%, #6366F1 0%, transparent 100%);
}

The same design as a CSS background, for a website section instead of an image.

Drawing runs in your browser. What you type never leaves this device.

Features

  • One to eight colour points over a base colour

  • Move each point and change how far it spreads

  • Palettes: aurora, peach, holi, ocean and mono, plus shuffle

  • Pure CSS output (layered radial gradients), no image needed on your site

  • Optional film grain; download PNG or JPG at wallpaper and social sizes

Where mesh gradients fit

Landing page heroes

A colourful, soft backdrop behind a headline or a glass card.

App and product visuals

Backgrounds for screenshots, mock-ups and launch graphics.

Wallpapers

Download the same design at desktop or phone size.

How the mesh is made

Layered radial gradients

Each colour point becomes a radial-gradient that fades from the colour to transparent, placed at the point's position with the spread as its size. Stacked over the base colour, they blend like a mesh. Because it is plain CSS, it scales to any screen and weighs a few hundred bytes.

Getting a pleasing blend

  • Pick colours with similar brightness, or one dark base with bright points.
  • Overlap the points: spreads of 50 to 80% blend best.
  • Three to five points is usually plenty; more can turn muddy.
  • Add 10 to 20% grain to avoid banding on big screens.

Related tools

Mesh Gradient Generator - FAQ