Luminance to colour
Gradient mapping reads each pixel's luminance, uses it as a position on a gradient, and takes the colour there, so black goes to the left stop and full white to the right with interpolation between. Brightness structure stays intact while hue and saturation change. Two modes exist: a two-stop gradient for monotone looks such as sepia after black and white, and a three-stop gradient with a middle colour for cinematic results where highlights warm, mids stay neutral and shadows cool. In three-stop mode, shadow, mid and highlight colours map to low, middle and high luminance.
Steps
- Run the sample to see how luminance sampling behaves.
- Load the image and judge whether brightness clusters in the middle.
- Choose two stops, dark brown and pale cream, for a sepia look.
- Switch to three stops and set shadow, mid and highlight colours.
- Apply repeatedly, tuning until the colour separation looks natural.
- Download the result and clear for the next image.
Palette design and image structure
The middle stop decides the mood: blue mids cool the whole frame like night, yellow mids warm it like dusk. A larger hue distance between shadow and highlight strengthens separation, while beyond one hundred eighty degrees it looks unnatural. Very flat sources compress into a single colour after mapping, so add contrast first. This differs from desaturation, which removes colour, whereas gradient mapping re-colours tonal levels, so it behaves most predictably on grey input. Extreme palettes such as red to cyan turn skin magenta, fit only for stylised posters.
Common mistakes
Expecting saturation redistribution from a grading filter. Stops so close the effect vanishes. Mapping flat sources without pre-processing. Complementary shadow and highlight stops producing glitch art. Extreme palettes on portraits. And stacking mappings until colours turn muddy.
Where global mapping is too blunt
This maps globally and supports no per-region palettes, which need masks in an editor. Brand colours and product accuracy are destroyed by remapping, so e-commerce heroes are out. Fine split toning needs curves with independent highlight and shadow control. And mapped files lose any claim to true colour.