110

Using Gimp can I make all the black pixels with RGB(0,0,0) into blue pixels with RGB(0,0,255)?

sashoalm
  • 5,131
  • Posting a comment since I don't have enough reputation to post an answer : I made a guide on an image here, using the "mode" setting of layers in order to replace black by another color. – sodimel Jul 23 '21 at 10:22

2 Answers2

126

Another way is to use the Color Exchange function.

Which is located under Colors > Map > Color Exchange and then either select the color from the preview picture using the color picker tool or just define the color to replace and the new color manually.

Here is the documentation page for that function.

Zanna
  • 70,465
Octavian Helm
  • 14,355
31

Replacing a colour can be done like this:

  1. Activate the "Select by colour" tool:

    enter image description here

    • In the tool options, choose a threshold (0 if you want it to be precisely rgb(0,0,0))
  2. Click on a black pixel

  3. Select your new colour and drag it onto the image