Post Reply 

changing a colour

Nov 10, 2011, 01:32
Post: #1
changing a colour

I've opened a gif file (web icon) which has shades of green. I want to use this on another site of ours which is similar but has shades of orange.

I use the dropper to select the colour from a gif on the orange site - so the colour is there in the colour section box.

When I try to draw / fill on the green gif it ignores the orange colour selected and uses a green from green gif. A lighter orange gives a lighter green.

What is happening???

Find all posts by this user
Quote this message in a reply
Nov 10, 2011, 02:20
Post: #2
RE: changing a colour
In a GIF, the only colors you can use are those in the indexed palette (256 colors max). So when you drop a new color, Gimp find the closest one in the palette. Ideally, you transform your image by changing the colors in its palette (Colors/Map/Rearrange color map). In case you wonder, importing the color map from the other image will not produce the required results.

A low-fi solution is to convert your image to RGB (Image/Mode/RGB) chnage the colors, and then change it back to indexed.

This said, using GIF for icons is so 20th century, the in image format for icons is PNG, which supports full color. See

Now answering your questions on
Visit this user's website Find all posts by this user
Quote this message in a reply
Nov 10, 2011, 03:37
Post: #3
RE: changing a colour
Thanks for that!

I changed the file to png and I could re-colour as I needed to.

One still acted weirdly (eg. white came out cyan), but I could add an additional layer and recolour that one - then merge it down.
Find all posts by this user
Quote this message in a reply
Post Reply 

Possibly Related Threads...
Thread: Author Replies: Views: Last Post
  Is the "Change Foreground Colour" window dockable ? Ceriano 2 76 Oct 14, 2017 17:22
Last Post: Ceriano
  best tutorial for changing someone's head to another body JaDan 19 9,070 Jul 20, 2017 05:07
Last Post: ythgilb
  Changing a silhouette to line art Tropdoug 3 340 Oct 7, 2014 07:51
Last Post: rich2005
  Changing the color of a house with a new layer. sepoto 2 611 Sep 6, 2014 08:18
Last Post: janston
  How to set gradually changing opacity of a layer? adamail 2 344 Sep 4, 2014 07:30
Last Post: adamail

Forum Jump:

GIMP ForumPortalArchiveContactTermsRSS