Skip to content
Jellykit

Mesh Gradient Generator

Blend two to five soft color points into a mesh gradient and save it as PNG, JPEG or WebP, or copy it as layered CSS.

  • Runs on your device
Loading tool

About Mesh Gradient Generator

Choose a background and up to five colors, then place each one with its across and down sliders. The colors melt into each other the way mesh gradients in design apps do, which makes them good for hero sections, slide backgrounds, wallpapers and social images.

Download the result at common sizes up to 4K, or copy the CSS: a stack of radial gradients that draws the same picture in any modern browser at any size, with no image file at all.

How it works

  1. Each color point is a radial gradient that starts fully opaque at its position and fades to transparent along a smooth S-shaped curve, so no edge is visible.
  2. The points are layered over the background in order, the first at the bottom. Where they overlap, the colors mix the way stacked translucent layers do.
  3. Spread sets the size of each point as a share of the image width and height, so the same CSS keeps its look when the box it fills changes shape.
  4. The download is drawn on a canvas with exactly the same layers and stops as the CSS.

Questions

Can I drag the color points on the preview?

Not yet. Positions are set with the across and down sliders for each color, which also work with the keyboard and keep the design in the page address for sharing.

Why do I see faint bands in the image?

Smooth gradients between similar colors can show steps in 8-bit images, especially in JPEG. PNG keeps the most detail; a slightly larger spread or more contrasting colors also helps.

Will the CSS look exactly like the download?

Very nearly. Both use the same layers and stops. Browsers blend translucent gradient colors in slightly different ways, so a pixel-level comparison may differ by a shade.

Everything you enter here is processed in this browser tab. Nothing is uploaded, logged or shared. How privacy works here.