You can now use this online html image color picker to select a pixel and get the hex (html) or rgb code of its color.
Drop the image in the box and mouse over the pixel you want the color. The color will appear in the box on the right with its codes. You can lock the color pressing L.
You can get color of logos, photos, icons and other things. Get creative. :-)