Mesh Gradient Generator
Create beautiful mesh gradients for free — drag colour points around the canvas, add up to eight colours, adjust the blend and film grain, and copy lightweight CSS or download a PNG or JPG up to 4K. Start from presets like Aurora, Peach and Ocean.
100% private — everything runs in your browser. Conversion happens on your device; nothing is uploaded.
Drag the dots to move each colour.
The CSS is built from layered radial gradients, so it’s tiny and works in every modern browser with no image file. PNG and JPG downloads match the preview and can add film grain. Free for personal and commercial use.
How to make a mesh gradient
- Pick a preset, or add your own colours.
- Drag the dots on the preview to move each colour.
- Adjust the blend, base colour and grain.
- Copy the CSS, or download a PNG or JPG.
What you can use it for
- Make modern website hero backgrounds
- Create wallpapers for desktop and phone
- Design backgrounds for slides, thumbnails and social posts
- Add soft colour fields behind UI mockups
More free tools
Building for the web?
Format, minify, convert and generate code with our free, private developer tools.
See all free tools →Frequently asked questions
What is a mesh gradient?
A smooth blend of several colours that flow into each other in different directions, rather than in a straight line like a linear gradient.
How does the CSS version work?
It layers several radial gradients over a base colour. It's only a few lines, needs no image file and scales to any screen size.
What does grain do?
It adds subtle film noise to PNG and JPG downloads, which reduces colour banding and gives a premium, textured look.
What sizes can I download?
From social sizes up to 3840 × 2160 (4K), including phone wallpaper and banner sizes.
Is it free for commercial use?
Yes, with no attribution required.
How do I use the CSS on my website?
Click Copy CSS and paste the code into the CSS rule for the element you want to fill, such as a hero section or a card. It has a background-color line for the base colour and a background-image line with one radial gradient for each colour point. Each gradient's size and position are percentages of the element, so the blend stretches to fit its width and height.
How many colours can I add?
Up to eight. Each preset starts with four colour points, and + Add colour adds another with a random colour at a random spot. Every colour has its own row with a colour picker, X and Y sliders from 0 to 100 and a ✕ button to remove it, though at least one colour always stays. The Base colour fills the background behind them all.
Which presets are there?
There are six: Aurora, Peach, Ocean, Candy, Sunset and Mint. Each sets a base colour and four colours spread out towards the corners of the canvas. Clicking a preset replaces your current colours and base colour, so choose one first and then edit it. To try a new layout with the same colours, click Shuffle positions, which moves every colour point to a random spot.
What does the Blend slider do?
Blend sets how far each colour spreads. It runs from 20 to 100 and starts at 60, and the value is the size of each colour's soft oval as a percentage of the canvas width and height. Higher values let the colours reach further and overlap into a smoother wash. Lower values keep them as separate soft spots, with more of the base colour showing between them.
Should I download PNG or JPG?
Both are made at the size you choose under Download size, with the same colours, blend and grain. PNG is a lossless format, so it keeps every pixel exactly as drawn, which suits further editing. JPG is saved at 95% quality, a compressed format for when you need a smaller image. The files are named mesh-gradient.png and mesh-gradient.jpg.
Is anything uploaded?
No. The preview, the CSS and the PNG and JPG files are all made in your browser, and each download is saved straight from it. You don't add any files and there's no sign-up or account, so your gradient stays on your device. The CSS goes to your clipboard only when you click Copy CSS.
Will the download look like the preview?
Yes. The preview changes shape to match the download size you pick, such as wide for 1920 × 1080 or tall for 1080 × 1920 (phone), and the download draws the same colours, positions and blend at full size. The one difference is grain: it's added only to the PNG and JPG downloads, so the preview and the copied CSS stay smooth.