Mesh Gradient Generator
Soft backgrounds from colour points you drag and blend. Randomise with one tap, download a PNG at any size, or copy a CSS approximation made of layered gradients.
Free, no sign-up
Your data stays on your device
Works offline after first open
The tool
Loading the tool…
How to use
- Press “Random” or pick a preset.
- Drag the points on the canvas and select one to change its colour and strength. “Sharpness” controls how softly colours blend.
- Download a PNG at the size you need (slides, phone, desktop), or copy the approximate CSS.
Privacy & how it works
Processes your data in the browser and stores nothing.
- Engine: lightweight in-page code, no external libraries.
- Works offline after you open it once.
Frequently asked questions
How are colours blended?
Each pixel is a weighted average of the point colours; weight = strength ÷ distance raised to the “sharpness” power (Shepard’s method). Low sharpness mixes more; high sharpness keeps each area close to its nearest point.
Why does the CSS differ slightly from the image?
CSS has no real mesh gradient, so we approximate it: a base colour (the first point) with a transparent-edged radial gradient per point on top. Same feel, but use the PNG for an exact result.
Can I get the same random shape again?
Every random shape has a seed number shown under the buttons. The same number gives the same points and colours.
Related tools
Gradient GeneratorDesign linear, radial or conic gradients with draggable colour stops, copy ready CSS and Tailwind code, or download a PNG at any size.Noise Texture GeneratorAdd grain or soft noise texture to backgrounds: a seamless PNG tile with adjustable opacity and contrast, or a lightweight SVG noise. Copy ready CSS or download the image.Blob GeneratorGenerate smooth organic blob shapes for backgrounds and slides: an SVG shape to download as SVG or PNG, or a CSS border-radius blob with an optional morph animation. Every shape has a seed you can return to.Pattern GeneratorSeamless repeating patterns: dots, grid, stripes, checker, zigzag, waves, crosses and triangles. Get them as CSS (SVG or pure gradients) or download SVG and PNG for slides and designs.