Design tools

Mesh Gradient Generator

Mesh Gradient Generator

Soft multi-colour mesh gradients with draggable points, as PNG or CSS.

About this tool

About Mesh Gradient Generator

Mesh gradients blend several colours from different points into one soft, flowing surface, the dreamy look used for app backgrounds, product launches and wallpapers. Place up to eight colour points and drag them around the preview, or move them with the arrow keys, and watch the colours merge in real time. Colours blend in the OKLab colour space, which keeps mixes vivid instead of turning grey or muddy in the middle. Softness controls how far each colour spreads, and a little grain adds texture and prevents the banding that smooth gradients can show on big displays. Press Randomise for harmonious palettes generated around a random hue. Export a PNG at a preset size such as 1920 × 1080, 4K or a 1080 × 1920 phone wallpaper, or any custom size. You also get CSS made of layered radial gradients that approximates the mesh for live web backgrounds. Rendering happens locally in your browser. Or start from 24 mesh templates for product heroes, creator posts, wellness brands, dark moody scenes and minimal backgrounds. Optional AI assist can place the colour points from a mood description, using your own AI key.

Built and maintained by Abhi JainUpdated

How to Make a Mesh Gradient

  1. 1

    Set the colours

    Pick a colour for each point, add points, or press Randomise for a new palette.

  2. 2

    Arrange it

    Drag the points in the preview and adjust Softness and Grain.

  3. 3

    Export

    Choose an image size and download the PNG, or copy the CSS approximation.

Mesh Gradient Generator: questions and answers

Can CSS make a true mesh gradient?

Not yet. CSS has no mesh gradient function, but layering several radial-gradient() backgrounds at different positions gives a close approximation, which is what the CSS tab provides. For an exact result, use the PNG.

Why add grain to a gradient?

Smooth gradients can show visible steps (banding) on 8-bit screens. A few percent of grain dithers those steps away and adds a tactile finish.

What size should a wallpaper be?

Match the screen: 1920 × 1080 for Full HD, 2560 × 1440 for QHD, 3840 × 2160 for 4K, and around 1179 × 2556 for recent iPhones. The size presets cover the common ones.

Why do the colours stay bright where they mix?

Blending happens in OKLab, a perceptual colour space, rather than in RGB, so mixes between saturated colours don't pass through dull greys.

Can AI help me make a mesh gradient?

Yes, optionally. Click AI, describe a mood such as "dreamy pastel dawn", and apply the suggested colour points, softness and grain, then drag the points to adjust. It uses your own AI key; only your description and the current points are sent, straight from your browser to the provider you chose.

Are there mesh gradient templates?

Yes, 24 hand-placed meshes grouped by use: product heroes, social and creator graphics, calm and wellness, dark and moody, bold and vivid, and minimal. Picking one loads its colour points, softness and grain; drag any point to make it your own.