Ask Ubuntu is a question and answer site for Ubuntu users and developers. Join them; it only takes a minute:

Sign up
Here's how it works:
  1. Anybody can ask a question
  2. Anybody can answer
  3. The best answers are voted up and rise to the top

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

share|improve this question
up vote 32 down vote accepted

Another way is to use the Color Exchange function. Go to 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.

share|improve this answer

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

share|improve this answer

Your Answer


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.