Super User is a question and answer site for computer enthusiasts and power users. 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

I have made an image with three colors: RGB

I want to swap each channel to a specific color. Is there a way to do that efficiently with GIMP?


enter image description here

I would like:

  • Blue: #434343
  • Red: #EEEEEE
  • Green: #BBBBBB
share|improve this question

migrated from Jun 21 '10 at 19:52

This question came from our site for professional and enthusiast programmers.

For GIMP 2.6.12, Just use Colors -> Map -> Color Exchange

share|improve this answer

Try Filters -> Colors -> Map -> Color Exchange... in RGB mode.

You should be able to replace one color with another easily.

share|improve this answer

To directly modify how each channel is interpreted, use Colors -> Components -> Channel Mixer.

To get what you want, you would select

  • Blue:
    • Red: 26.3
    • Green: 26.3
    • Blue: 26.3
  • Red:
    • Red: 93.3
    • Green: 93.3
    • Blue: 93.3
  • Green:
    • Red: 73.3
    • Green: 73.3
    • Blue: 73.3
share|improve this answer

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .