Krita has three ways to add a gradient map. Use Filter > Map > Gradient Map to change a layer directly, a filter layer to affect the layers below it, or a filter mask to affect only one layer. The last two keep the effect editable, which is usually the better choice.
Option 1: Apply the filter directly
- Select the layer.
- Choose Filter > Map > Gradient Map.
- Pick or edit a gradient, then click OK.
A direct filter changes the layer’s pixels. Use Undo, or work on a copy, if you want to try other gradients.
Option 2: Add a filter layer
- Click the small arrow next to the plus icon in the Layers docker.
- Choose Add Filter Layer.
- Under Map, pick Gradient Map, set the gradient and click OK.
A filter layer affects the layers beneath it in the stack. Its blend mode and opacity control how strongly the mapped colors show, and you can change the gradient at any time.
Option 3: Add a filter mask
- Right-click the paint layer in the Layers docker.
- Choose Add > Add Filter Mask.
- Open Map > Gradient Map, set the gradient and click OK.
Paint black on the mask to hide the effect in an area, and paint white to bring it back. This is useful when only part of one layer should change.
Edit the gradient
- Stops on the left map to the darkest values, and stops on the right map to the brightest.
- Click below the gradient bar to add a stop. Drag a stop to move it. Dragging a stop well away from the bar usually removes it.
- Give stops different colors to make a multi-color ramp.
Blend mode and opacity
On a filter layer, try blend modes such as Soft Light, Overlay or Color to mix the mapped colors into the artwork. If the effect is too strong, lower the layer’s opacity rather than changing the gradient. Because filter layers stay editable, you can revisit these settings later.
Use gray shading to drive color
A common approach is to paint the shading in grayscale, then add a gradient map to turn those values into color. Each gray value maps to one color, so you can change the whole palette by editing the gradient. For choosing the colors in that ramp, see how to master color theory. This is faster than repainting each shadow and highlight.
Troubleshooting
- The effect hits the wrong layer. Check whether you added a direct filter, a filter layer or a filter mask. The Layers docker shows which one is active.
- Transparent areas pick up color. A gradient map can color the transparent parts of a layer. To keep the color inside your painted shapes, paint the shading on a layer clipped to the flats with Inherit Alpha, then apply the gradient map to that clipped layer. The clipping hides anything that spills outside the shape. For more on this setup, see clipping masks and alpha lock in Krita.
- The result is too strong. Lower the opacity of the filter layer, or adjust the blend mode.
For shading setup more broadly, see shading and canvas texture in Krita.