How to use it
- Choose an image.
- Press a color in “Main colors” to copy it, or click the image to sample a pixel.
- You can also type an X and Y position to sample without a mouse.
How it works
The main colors are found with the median-cut method: the image’s colors are repeatedly split into groups along the channel with the widest range, and each group’s average becomes one swatch, with its share of the image. Transparent pixels are ignored. For the pixel picker, the exact RGB value of that pixel is read from a canvas copy of the image and converted to HEX and HSL.
Examples
- A sunset photo gives swatches such as a deep orange, a dusty pink and a dark blue, with their percentages.
Limitations
- The picked values come from your browser’s decoded image, which may differ slightly from other software because of colour-profile handling.
- Large images are scaled to at most 900 px on the long side before sampling, so single-pixel picks are from the scaled copy.
- The palette is an approximation; different algorithms give different swatches.
Last verified . See our Accuracy & Editorial Policy. Found a problem? Email [email protected].