Take the 2-minute tour ×
Graphic Design Stack Exchange is a question and answer site for Graphic Design professionals, students, and enthusiasts. It's 100% free, no registration required.

I often have a situation where I get a foreground image with a background color like this:

enter image description here

I want to display this without the white background, so I set the blend mode to Darken:

enter image description here

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?

share|improve this question

1 Answer 1

up vote 3 down vote accepted
  • First set the image layer to Multiply rather than Darken (Based on the background layer Darken may not work for the blue since some values in the background may be close to the value of blue you choose. Multiply will definitely work.)
  • create a new layer above the image
  • Fill the new layer with your blue
  • Set the blue layer Blend Mode to Lighten
  • Option/Alt-click between the blue layer and the image layer on the Layers Panel to create a layer clipping mask. This causes the blue layer to only alter the image layer it is "clipped" to.

This should result in only the black being colored blue.

color

share|improve this answer
    
Totally worked! Thank you! –  Joshua Frank Feb 9 at 14:15

Your Answer

 
discard

By posting your answer, you agree to the privacy policy and terms of service.

Not the answer you're looking for? Browse other questions tagged or ask your own question.