Quick answer

A mesh gradient blends colors from multiple points instead of along one line. The fastest ways to make one:

  • Figma or Photoshop: overlap large colored ellipses and blur them heavily.
  • Illustrator: use a freeform gradient and place color points.
  • CSS: stack several radial gradients over a base color.
  • Mesh gradient generator: drag color points and export an image.

What is a mesh gradient?

A linear gradient blends along a straight line and a radial gradient blends outward from a center. A mesh gradient places colors at several points across the canvas and blends between all of them at once, so each color claims its own soft region. The result looks like colored light or paint melting together.

The term comes from vector tools, where a gradient mesh is a grid of editable points with a color on each point. Today it usually refers to any soft, multi-point gradient, regardless of how it was made.

What makes a good mesh gradient

  • Three to five colors. More points quickly get busy.
  • One dark color. Without a dark region, a mesh gradient looks washed out.
  • Large, overlapping regions. Big soft areas look calm; many small blobs look like a lava lamp.
  • Clean blends. Where opposite colors meet, the mix can turn gray. Blending in OKLab, or placing a bridge color between them, keeps it vivid.
  • A bit of grain to add texture and prevent banding.

In Figma: layered blurred shapes

  1. Make a frame with a dark fill

    Press F, draw a frame and give it your darkest color. Turn on Clip content.

  2. Add large ellipses

    Draw three or four big ellipses (E) in your palette colors and let them overlap and stick out past the edges.

  3. Blur them

    Select the ellipses and add a Layer blur in the Effects section with a large radius, until the edges disappear.

  4. Add grain

    Select the frame and add a Noise effect at low opacity.

Figma has no native mesh fill, but community plugins and shader fills (open beta) offer alternatives. More in the Figma tutorial.

In Illustrator: freeform gradients

Select a shape, open Window › Gradient and click Freeform. Click on the shape to add color points, double-click a point to set its color and adjust the Spread to control how far each color reaches. The older Mesh tool (U) gives even more control but takes much longer. See the Illustrator tutorial.

In Photoshop: paint and blur

Fill the background with your darkest color. On a new layer, paint large soft blobs with a big, soft brush in your other colors, then apply Filter › Blur › Gaussian Blur with a large radius. Add a noise layer on top for grain. See the Photoshop tutorial.

In CSS: stacked radial gradients

.mesh {
  background-color: #12082a;
  background-image:
    radial-gradient(at 15% 20%, #ff5e7e 0px, transparent 50%),
    radial-gradient(at 85% 15%, #00c2b2 0px, transparent 50%),
    radial-gradient(at 80% 85%, #ffc24b 0px, transparent 50%),
    radial-gradient(at 20% 80%, #6a4cff 0px, transparent 55%);
}
A CSS mesh made of four radial gradients

It is light and responsive, but the color regions stay round and there is no grain. For details, see the CSS gradient guide.

With a mesh gradient generator

Dedicated generators let you place and drag color points and export the result as an image. They are the fastest route, especially when you want grain and large exports. Try the free mesh gradient generator, or compare options in our overview of the best mesh gradient generators.

MethodEffortOrganic shapesGrainMax quality
Figma blurred shapesMediumGoodNoise effectExport scale
Illustrator freeformMediumGoodGrain effectVector
Photoshop paint and blurMediumVery goodNoise layerCanvas size
CSS stacked radialsLowLimitedOverlay onlyResolution independent
Mesh gradient generatorVery lowVery goodOften built inUp to 8K

Frequently asked questions

What is the difference between a mesh gradient and a linear gradient?

A linear gradient blends colors along a single line. A mesh gradient blends colors from several points across the canvas, which creates soft, organic regions of color.

Can you make a mesh gradient in CSS?

Not natively, but you can approximate one by layering several radial gradients over a background color.

Does Figma have a mesh gradient tool?

Not as a built-in fill. Use layered blurred shapes, a community plugin, shader fills (open beta) or import a mesh gradient image.

How many colors should a mesh gradient have?

Three to five usually works best, including one dark color for depth and one light color as a highlight.