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 a screen capture of some colors I'd like to use. I need to learn their hex codes. I have the screen shot in MS paint. I can see where I can pull the color with the dropper, and where I can define custom colors, but I don't see any place where it tells me the hex code of the color.

Can I do this in mspaint, or gimp?

share|improve this question
up vote 6 down vote accepted

After you select color with Dropper, go to Tools->Edit colors and click on Define Custom Colors. On right side you will get three numbers (Red, Green and Blue). Convert those numbers to their hexadecimal form (Windows Calculator will do) and just have them one after another (Red, Green and then blue).

This is as far as I know only way to do it in MS Paint. However, You might think of Paint.NET or better editor as alternate solution since almost all other image editors do have that feature available.

share|improve this answer

It's trivial in GIMP. Just use the color picker tool, then click on the color box and look at HTML notation. Heck, you don't even have to open the image; the color box can grab the color from any pixel on your screen.

share|improve this answer

You must log in to answer this question.

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