Mesh gradient generator

Drag colors around the canvas to blend a soft, organic mesh gradient, then copy the CSS or download it as a PNG.

How to use it

  1. Drag the dots on the preview to move each color, or focus a dot and use the arrow keys.
  2. Change the base color and each blob color, and add up to six colors.
  3. Click Shuffle for a new harmonious set of colors and positions.
  4. Copy the CSS, or download a 1920x1080 PNG for slides and wallpapers. The page address updates, so you can share it.

How it works

Each color is a radial gradient that fades to transparent, layered over a solid base color. Where the blobs overlap, the colors blend, which gives the soft, mesh-like look without any images.

Shuffle picks one random color and rotates its hue for the others, so the set stays harmonious. The PNG is drawn on a canvas with the same layering, so it matches the preview closely.

Questions

Does the CSS work in every browser?

Yes. It uses layered radial gradients, which every modern browser supports, so the background scales to any size with no image to load.

Can I put text on a mesh gradient?

Yes, but contrast changes across the gradient. Keep text over the calmest area, or add a solid panel behind it, and check it in the contrast checker.

What size is the PNG?

1920 by 1080 pixels, a common size for slides, desktop wallpapers and video backgrounds.