Windows 7 – How to pick a color from an image

How can I pick a color from an image?

When I move the cursor to any particular point in the image, I want the hex code of the color at the cursor to be displayed.  I would like to be able to do that with anything displayed on the screen even if it is not an Image, say I am working on any Windows application having various colors.  

Is there a way to do that?

Solution:

In Windows, there is an easier way that doesn’t need any software.

  1. Capture the screen in an image file (use something like the Snipping Tool to grab the desired area)
  2. Open the file with MS Paint
  3. Use Paint’s pick color and pick the color
  4. Press “Edit Colors” button
  5. You have the RGB values!