Color picker from image

Drop in a photo, screenshot or logo and click to read the exact color of any pixel. The main colors of the image are listed too.

Runs in your browser. Nothing is uploaded.

Showing a sample image. Click anywhere on it to pick a color, or add your own image above.

–
HEX–
RGB–
HSL–
Edit this color in the color picker

Dominant colors

How to use it

  1. Drop an image on the box, choose one, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
  2. Move over the image. The round loupe shows the pixels under the pointer, 12 times larger.
  3. Click (or tap and release) to pick. The color and its codes appear on the right, ready to copy.
  4. Or click one of the dominant colors to use it.

How the dominant colors are found

The image is shrunk to about 120 pixels across, then the pixels are grouped into 8 clusters of similar color (k-means clustering). Each swatch is the average of one cluster, and the percentage is roughly how much of the image it covers. Averages are smoother than any single pixel, so for an exact brand color pick a flat area of the logo by hand.

JPG photos have slight noise, so neighboring pixels can differ by a few values. Use the loupe and pick from the middle of a flat area.

Questions

Is my image uploaded?
No. The image is opened in your browser and read on your device. It is not sent anywhere and is gone when you close the tab.
Can I use the keyboard?
Yes. Tab to the image, move the cursor with the arrow keys (hold Shift for 10 pixels at a time), and press Enter to pick.
Why is the color slightly different from my design file?
Screenshots and exported images can be color-managed or compressed, which shifts values a little. Images are read as standard sRGB here, which is what web pages use.