Gimp-Forum.net
Changing one color - Printable Version

+- Gimp-Forum.net (https://www.gimp-forum.net)
+-- Forum: GIMP (https://www.gimp-forum.net/Forum-GIMP)
+--- Forum: General questions (https://www.gimp-forum.net/Forum-General-questions)
+--- Thread: Changing one color (/Thread-Changing-one-color)



Changing one color - grit - 08-26-2017

How to change one color in the image with another?


RE: Changing one color - Blighty - 08-26-2017

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


RE: Changing one color - dinasset - 08-26-2017

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).


RE: Changing one color - Ofnuts - 08-26-2017

(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.