How can I map the colors in a greyscale image to a specific color gradient?
Iâ€™m attempting to add color to some greyscale icons (i.e. all three channels are identical). I want to map the colors such that the brightest grey becomes one specific color, the darkest grey becomes another specific color, and all the greys in between are translated into colors along the gradient between those two specific colors.
Iâ€™ve never used GIMP in this manner before and, while it looks like I should be able to use the Colorsâ€¯â†’â€¯Curves tool for this, I canâ€™t figure out the specifics even after reading the docs and googling around a bit.
I think what you are searching for is called gradient map.
In Photoshop: Imageâ€¯â†’â€¯Adjustmentsâ€¯â†’â€¯Gradient Map.
- Select a gradient or create one in the Gradients dialog (Ctrl + G).
- Colorsâ€¯â†’â€¯Mapâ€¯â†’â€¯Gradient Map.