I need a tool to replace all pixels having a specific color with another color..

So basically a brush that works only with pixel having a specific color.


1 Answer 1


There are many ways to do this:

You can use the colour replacement brush:


You can use layers, double click on the background layer to make it 'layer 0'.

You could then select by colour (eyedropper the color to make it the current foreground color, then use Select > Color Range), setting fuzziness accordingly..

Then you can put this selection into a layer mask.

Now you can create a new layer, fill it with your desired colour and drag it below layer 0 to show through the holes created earlier.

Flatten the image if okay, otherwise you can edit the layer mask as desired.

  • That's a very interesting solution :)
    – Adriano
    Jul 5, 2016 at 10:08

Your Answer

By clicking “Post Your Answer”, you agree to our terms of service and acknowledge you have read our privacy policy.

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