I often have a situation where I get a foreground image with a background color like this:
I want to display this without the white background, so I set the blend mode to Darken:
But now I want to color all the black pixels blue, and I can't figure out how to do this. If I set a Color Overlay style, it overlays the entire rectangle with blue.
(I've tried just masking out the white, but it's very hard to get a clean mask because of the aliasing at the boundary between light and dark.)
So, is there a way to work with just the pixels that are visible given the layer blend mode?