Tools marked “Coming soon” are being built now.

Colour & design
Colour & design · Free · Private

Mesh Gradient Generator

Drag up to eight colours around, soften them, add a little grain, and save a smooth backdrop as PNG, SVG or CSS.

  • Runs in your browser
  • No upload
  • No sign-up
Preview

Drag the round handles to move colours. Double-click (or double-tap) the picture to add a point there. With a handle focused, arrow keys move it and Delete removes it.

Palettes

Colour points

Shape

Save it

Show the CSS

CSS can’t blend colours point by point or add grain, so this is a close version made of layered radial gradients. Switch the preview to “CSS version” to compare.

About this tool

Mesh Gradient Generator makes the soft, flowing colour backgrounds you see behind app screenshots, slides, phone wallpapers and landing pages. Instead of a straight line from one colour to the next, each colour sits on a point you can drag anywhere on the picture, and the colours melt into each other around them.

You choose three to eight points, how far each colour spreads, and how softly they blend. Three shapes change the character: Blobs for round pools of colour, Aurora for long ribbons that drift across the picture like the northern lights, and Waves for swirling bands. A grain slider adds fine film-like noise, which looks good and also stops the smooth areas from showing stripes once the image is compressed.

What makes this one different: colours are mixed in OKLab, a colour space built around how people see, so the in-between shades stay bright instead of turning muddy grey. The preview is the exact picture you download, drawn by our own code in your browser. Eight hand-picked palettes and a Randomise button give you a starting point, the PNG goes up to 4K and phone-wallpaper sizes, and the SVG and CSS versions are there when you need code instead of an image. Nothing is uploaded.

How to use Mesh Gradient Generator

  1. Pick a palette, or press “Randomise” for a fresh mix. Drag the round handles on the preview to move the colours.
  2. Tap a colour chip (or a handle) to edit that point: change its colour, set its “Spread”, or press “Remove”. “Add” or a double-click on the picture adds a point.
  3. Choose a shape (Blobs, Aurora or Waves) and set “Softness” and “Grain”. For Aurora and Waves, “New wave pattern” bends the ribbons a different way.
  4. Under “Save it”, choose a size such as 1920 × 1080 or 1080 × 1920 for a phone, or type your own.
  5. Press “Download PNG” for the image, “Download SVG” for a vector file, or “Copy CSS” to paste a background into your stylesheet.
Example

Choose “Midnight lab”, set Shape to Aurora, Softness 70 and Grain 20, pick 3840 × 2160 and press “Download PNG”: you get a 4K desktop wallpaper of deep blue ribbons with a fine grain.

Features

  • Three to eight colour points, each with its own colour and spread, dragged with a mouse, a finger or the arrow keys.
  • Colours blended in OKLab, so mixes stay vivid and even.
  • Three shapes: soft Blobs, ribbon-like Aurora and swirling Waves, each with a new pattern on demand.
  • Softness and grain sliders; grain also hides the banding that smooth gradients get in compressed images.
  • Eight palettes and a Randomise button that picks colours that sit well together, sometimes light and airy, sometimes deep with one bright accent.
  • PNG at 1920 × 1080, 2560 × 1440, 3840 × 2160 (4K), square and portrait posts, stories, a large phone wallpaper, a link preview, or any size up to 8000 pixels a side.
  • SVG made of soft shapes under a Gaussian blur, with grain built from SVG noise, at the size you chose.
  • CSS as layered radial gradients, with a “CSS version” preview so you can compare it with the image before copying.
  • Your last mesh and size are remembered in this browser.

Tips and good to know

  • Put a dark colour and a light one at opposite corners and keep the brighter colours near the middle: text laid on top stays readable.
  • For a calm background behind words, raise Softness and keep Grain low. For a poster or album cover, more Grain gives a printed, tactile feel.
  • The SVG and CSS versions are close copies, not exact ones: browsers can’t mix colours point by point. Use the PNG when it has to look exactly like the preview.
  • Very large PNGs need a lot of memory. If a phone struggles with 4K, choose 2560 × 1440; soft gradients scale up well.
  • Move the same handle with the arrow keys (hold Shift for bigger steps) to nudge a colour into exactly the right place.

Frequently asked questions

Is anything uploaded?

No. The gradient is drawn by your browser on your device, and the PNG, SVG and CSS are made there too. Your last mesh is saved only in your own browser.

Is it free? Are there limits?

It is free, with no sign-up and no watermark, and you can use the images anywhere, including commercial work. You can have up to eight colour points, and PNGs can be up to 8000 pixels a side and 16 million pixels in total.

Does it work on a phone or offline?

Yes. The handles work with touch, and once the page has loaded it keeps working without a connection. On iPhone, a double-tap on the picture adds a point.

What is a mesh gradient?

A gradient where colours sit at several points across a picture and blend into each other in every direction, rather than along one straight line. Design apps build them from a grid of points; this tool lets you place each colour freely, which is quicker and gives softer results.

Why add grain?

Very smooth gradients often show visible steps, called banding, once they are saved as JPG or shown on some screens. A little noise breaks those steps up so the eye sees a smooth blend.

Can I use the CSS on a website?

Yes. “Copy CSS” gives a class with a base colour and one radial gradient for each point, which works in every current browser and costs no image download. It can’t include grain, so for the full look use the PNG as a background image.

Page last reviewed