Free online tool

Mesh Gradient Generator

Blend up to eight draggable color points. Animate your gradient, copy CSS, or download a 4K PNG or looping video.

Loop duration 3.0s
Drag a point · double-click to add · Space to shuffle colors · P to play4:3 · 2560×1920
Live previews

Mesh gradient backgrounds

Preview your gradient as a website hero, a phone wallpaper, or an album cover. Each mockup updates as you edit the mesh.

yourbrand.com
✦ Launching this springMake something lovely.

A soft backdrop that keeps your headline front and center.

Get startedLearn more
Friday, 14 March9:41
ColorBrewYour new wallpaper is ready.

Soft
Static.
Soft StaticColorBrew Radio
1:243:40
Eight starting palettes

Mesh gradient presets

Start with a preset such as Aurora, Sunset Strip, or pastel Sherbet, then move or recolor any point.

A website hero example

How to make a mesh gradient

Build a gradient background with space for a headline, add motion if you need it, and choose the right export for the page.

drag

Position your colors

Choose Aurora and set the canvas to 16:9 for a website hero. Drag a dark point behind the area where your headline will sit, then lock that point before shuffling.

play

Add grain and motion

Adjust Softness and Swirl in Shape, then add texture with Grain in Finish. Press Play to see the default three-second loop. Use Motion to change the speed and drift.

png · video · css

Export the background

Choose PNG to keep the rendered texture, or record a seamless video for a moving hero. For a lightweight static web background, copy the layered CSS or Tailwind classes.

ShortcutsSpaceShuffle colorsPPlay / pauseHHide pointsZUndoShift + ZRedoLLock a focused point
Export and usage

Mesh gradient FAQ

Create a linear or radial CSS gradient
What is a mesh gradient?

A mesh gradient blends colors around independently placed points. You can position one color in a corner and another near the center, then adjust how far each spreads. Linear gradients blend along a line, and radial gradients spread from a center.

How do I make a mesh gradient with my own colors?

Select a point, then open the color picker on its swatch to change the color. Drag the point into place and adjust Spread to set how much of the background it colors. You can use up to eight points. Lock a point to keep its color and position when you shuffle.

How do I use a mesh gradient as a CSS background?

Choose Export, then Code, and copy CSS or Tailwind. The code uses layered radial gradients for a static approximation. Use the PNG to keep the rendered swirl and grain, or export a video to keep the animation.

How do I export an animated mesh gradient?

Press Play to preview the motion. Adjust Speed for the loop length and use Drift, Flow, or Orbit to change how it moves. Open Export, select Video, and record a seamless loop. The available MP4 or WebM format depends on your browser.

Can I make a 4K mesh gradient wallpaper?

Choose a phone wallpaper ratio for your lock screen or 16:9 for a desktop background. In Export, select Image and choose 4K for a PNG up to 3840 pixels on its longest side. Your browser can limit the maximum export size.

Is the mesh gradient generator free?

Yes. You can create, animate, and export mesh gradients for free without an account. The heart button saves your mesh in this browser so you can reopen it from Saved Palettes.

Keep ColorBrew free and brewing.Help keep ColorBrew free.

If you find ColorBrew helpful, consider supporting the project to help keep it running and growing.

Your support keeps every ColorBrew tool free.

Buy Me A Coffee

Export your mesh

Mesh preview4:3 · 6 colors
PNG imageChoose a size for your wallpaper or artwork.