What is a gradient map?
A gradient map is a way of recoloring that reads the lightness of each color and replaces it with the color found at that lightness along a gradient. The darkest tones take the color at one end of the gradient, the lightest take the color at the other end, and the tones in between fall along the way.
Because it works from lightness, the light and shade of the artwork decide where each gradient color lands, and the gradient decides the palette.
Why does a gradient map suit a gradient mesh?
The colors of a gradient mesh are set on its mesh points and patches. A mesh point is the intersection of two mesh lines, and it accepts color (Adobe Help). MeshEase works on the mesh points, which it calls nodes, and its Gradient Map gives each node a color from the gradient by that node's lightness.
In the drop process on this site, the gradient map comes after the shading. Light and shade go in first with Mesh Paint, Burn for darker edges and Dodge for light spots. Then a copy of the drop is recolored by lightness: silver, then gold. The shading painted in earlier is what the gradient follows. The whole process is in A drop, from lines to color. In A gold star, from a star shape to three colorways, Random Colors first turns the rings black, white and gray, and Gradient Map then makes them gold. Coloring single points is in How to change gradient mesh color in Illustrator.
How do you apply a gradient map to a gradient mesh?
With MeshEase, Gradient Map is a window inside Adjust Colors, in the Recolor group of the MeshEase panel (Window > MeshEase > MeshEase). The steps from the recording:
- Select the mesh. The drop process works on a copy, so the original colors stay as they were.
- Click Adjust Colors in the Recolor group.
- Click Gradient Map…: the window opens, and the drop takes the gradient's colors at once.
- Click Swatches at the top right of the window and pick a gradient tile; its stops come into the window. In the recording, a gray gradient turns the drop silver.
- Choose how the colors are mapped with the Map setting, for example By tone or Full range (see below).
- Reverse Gradient, the two arrows at the top left, flips the gradient.
- Click the gradient bar to add a stop, and set its H, S and B.
- Apply.
The window keeps your last gradient, even after a restart, and the small strip in Adjust Colors shows it.
Map: By tone or Full range?
The Map setting decides how the lightness of the nodes is read against the gradient. These are the Map settings named in the recordings:
| Map | What happens |
|---|---|
| By tone | Every node takes the gradient's color at its own lightness. |
| Full range | The darkest node takes the left end of the gradient, and the lightest node takes the right end. |
In the recording, the darkest node of the drop is at 45% and the lightest at 99%. With Full range, those two nodes take the two ends of the gradient. If you want both ends of a gradient in the result, Full range puts them there.
Recolor only part of the mesh
Gradient Map works on the picked-out nodes. Pick out a row or an area first, and the gradient goes onto those nodes.
Edit the gradient strip
- Click the strip to add a stop.
- Drag a stop along the strip to move it.
- Pull a stop off the strip, or right-click it, to take it away.
The diamond between two stops is their midpoint.
Set the color of a stop
Pick a stop, then change its color with the swatch, which opens the color picker, with one of the six colors used last, or with H, S and B. A is how much of that stop's color lies on a node.
Mix the gradient with the old colors
The list over the swatch, Normal at first, sets how the gradient lies on the nodes. It holds Illustrator's own blend modes.
The bottom slider sets how much of the gradient lies on the nodes: 100 is all of it, 50 is half way.
How do you try ready gradients on a mesh?
Gradient Map works with the gradients you already have in Swatches:
- On a new copy, open Gradient Map… again.
- Pick ready gradients from the Swatches list.
- Flip each one with Reverse Gradient.
- Apply the one you like. In the recording, blue-red-yellow gives an orange drop.
The drop process ends with three colorways from one mesh; the gold one and the orange one come from Gradient Map.
How does Gradient Map work with the other color commands?
The Recolor group of the MeshEase panel moves color through the whole grid at once: random, adjusted, mapped to a gradient. Here is how Gradient Map sits next to the other color commands and the Mesh Paint brush:
| Command | What it changes |
|---|---|
| Adjust Colors | Hue, saturation, brightness and contrast for every selected node at once |
| Gradient Map (in Adjust Colors) | The color of every node, by its lightness, from a gradient |
| Random Colors | Scatters node colors within limits you set, or from the mesh's own colors |
| Mesh Paint | The colors of the nodes under the ring, as you paint |
Step by step, they are in How do you recolor a whole gradient mesh?
Mesh Paint
Its Dodge and Burn modes paint light and shade into the nodes. In the drop, Burn darkens the edges before the gradient map.
Frequently asked questions
What does a gradient map do?
It recolors by lightness: each color is replaced by the color at that lightness on a gradient, so dark tones take one end and light tones the other.
How do you apply a gradient map to a gradient mesh?
With MeshEase, select the mesh, click Adjust Colors in the Recolor group, then click Gradient Map… to open its window. Pick a gradient from Swatches, choose a Map setting such as By tone or Full range, and Apply.
Where is Gradient Map in MeshEase?
Gradient Map… is a button in Adjust Colors that opens its own window. Adjust Colors is in the Recolor group of the MeshEase panel, which is in Window > MeshEase > MeshEase.
Can you reverse the gradient in Gradient Map?
Yes. Reverse Gradient flips it, and you can click the gradient bar to add a stop and set its H, S and B.
Will a mesh recolored with Gradient Map open without MeshEase?
Yes. The result is a regular Illustrator Gradient Mesh, and files never depend on the plugin.
Try MeshEase free for 7 days and map a gradient of your own onto a mesh.
