Mesh, linear and radial gradients
The gradients most people know blend along one direction:
- A linear gradient changes colour along a straight line, top to bottom or corner to corner.
- A radial gradient changes colour outward from a centre point.
- An angular (conic) gradient sweeps colour around a centre, like a colour wheel.
A mesh gradient has no single direction. Each colour lives at its own position, and every spot on the canvas is a blend of the nearby colours, weighted by distance. That's what lets it look like light falling on a surface rather than a stripe of paint.
Where the name comes from
The term comes from vector design tools such as Adobe Illustrator, where a mesh gradient is literally a mesh: a grid laid over a shape, with a colour at every grid intersection. Designers drag the grid's nodes to bend the colours.
Today the name is used more loosely for any free-form, multi-point colour blend, whether it's made with a grid, with blurred shapes or with colour points. If it has several colours placed freely and blending smoothly, people will call it a mesh gradient.
How GradientForge draws one
GradientForge uses colour points instead of a grid. For every pixel, it works out how strongly each point should influence it based on distance, using a smooth mathematical interpolation (a radial basis function) that passes exactly through each point's colour. That calculation runs on your graphics card with WebGL, so the canvas updates instantly as you drag. The animated examples on this page are drawn by that same code.
The practical upshot is that you think about where colours go, not about meshes or blur radii. Add a point, pick its colour, drag it to where it should be.
What mesh gradients are good for
- Backgrounds for websites, slides and social posts that need colour but no detail.
- Brand atmospheres: a signature palette expressed as a soft field rather than a flat swatch.
- Wallpapers for phones and desktops. See gradient wallpapers.
- Texture layers under photos or UI, often with added grain. See grainy gradients.
Make your own
- Open GradientForge in your browser, or install the Figma plugin.
- Choose three to five colours.
- Drag each colour to where it should sit.
- Add a little grain if the gradient will be large.
- Save as PNG, or apply it straight to a frame in Figma.