Color · Made a little simpler

Mesh Gradient Generator

Build a mesh gradient with draggable color points, adjustable spread and intensity, blend presets and blur. Export responsive CSS or a 1200 × 675 PNG locally.

Free to useNo account neededProcessed on your device
Your workspaceProcessed on your device

Drag a numbered point or focus it and use the arrow keys. Hold Shift to move five percentage points.

Color points (4 of 8)

Add this tool to your website

Paste this code into your page to add the tool and a visible ToolMellow credit link.

HTML embed code
Preview embed

Mesh Gradient Generator: how to use it

  1. Choose a starting preset. Drag a numbered point or set its X and Y percentages for an exact position.
  2. Set the color, spread and intensity for each point. Change the layer order, base color or blur to refine the overlap.
  3. Copy or download the CSS and apply its .mesh-gradient class, or download the 1200 × 675 PNG.

Limits and notes

Use one to eight points in sRGB. The color fields accept CSS names, HEX, RGB and HSL, including alpha. Blur ranges from 0 to 20 pixels at the PNG export width. Rendering stays on your device.

How your privacy works →

Mesh Gradient Generator: common questions

What does spread control?

Spread is the horizontal and vertical radius as a percentage of the preview dimensions. The glow fades from the selected intensity at its center to fully transparent at that radius.

What happens where two glows overlap?

The first listed point is the front layer. Use Move toward front or Move toward back to change which color sits above the other in the overlap.

Why does the blurred CSS have a pseudo-element?

The pseudo-element applies blur to the color layers. The base color and any text in your element stay sharp, and the element clips the glow at its edges.

Guides