How to use it
- Drop an image on the box, choose one, or paste a screenshot with Ctrl+V (Cmd+V on a Mac).
- Move over the image. The round loupe shows the pixels under the pointer, 12 times larger.
- Click (or tap and release) to pick. The color and its codes appear on the right, ready to copy.
- 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.