How to use this page
- Choose an image.
- Extract a dominant palette at the size you want.
- Click or tap a pixel to read HEX, RGB, HSL, alpha and coordinates, then copy a code.
Worked example: matching a brand blue from a PNG logo
Open the PNG, extract six colours, then click the centre of the blue mark. Copy HEX into CSS. If the file is a busy photo, crop to the swatch area first so the palette is not dominated by the background.
What this job is for
Antialiased edges are a mix of colours. Sample the flattest part of the mark. Browser-decoded values are not a spectrophotometer reading.
Useful limits
This tool does not export a new image. Close the tab to drop the decoded pixels from memory.
The live tool behind this page is Image Color Picker. It is the same local engine as the rest of Image Cosmos.
Frequently asked questions
Why does HEX differ from Photoshop?
Colour profiles, monitors and decoders differ. Treat this as the browser canvas value.
Are transparent pixels in the palette?
Fully transparent pixels are ignored.
Uploaded?
No.