Gimp-Forum.net

Full Version: Changing one color
You're currently viewing a stripped down version of our content. View the full version with proper formatting.
How to change one color in the image with another?
Method will depend on the actual image. Two different types of images are 1) an image created by vector graphics which has pure colours and 2) a jpg which has a large range of colours.

One Method:
Make a selection on the colour to be replaced. Bucket fill with the required colour.

Another Method:
1. Create a transparent layer below the image.
2. On the image layer, make a selection of the colour to be replaced. Delete the selection.
3. Grow the selection by 1 or 2 pixels. Do Colour to Alpha, using the colour that is to replaced.
4.Switch to the lower transparent layer
5. Grow the selection by 1 pixel
6. Bucket fill the selection with the required colour - this still on the lower transparent layer

Yet Another Method
Use Colour > Map > Rotate Colours
I suspect you intend "change one hue to another one", a single color (R,G,B,T) change creates IMO a very strange look to an image (unless you are talking of a child drawing with areas filled with a definite single colour).
(08-26-2017, 05:56 PM)grit Wrote: [ -> ]How to change one color in the image with another?

Color>Map>Rotate colors can work in many cases (it actually replaces a range of colors with another range of colors), especially if what you want to do is mostly change the Hue.