Image color picker and palette
Load an image and read the colour of any pixel with a click, a tap or the keyboard arrows: HEX, RGB, HSL and OKLCH values, a magnifier, a history of picked colours and a dominant colour palette you can export as CSS or JSON.
Your data stays on your computer. Files are processed in your browser and are never uploaded.
Reading the pixel
The colour is the exact value of the pixel in the image, with the camera orientation already applied. A very large image is shown reduced and the reading is done on the reduced image.
How the palette is computed
At most 40,000 pixels are sampled (transparent ones are skipped), split with median cut and refined with a few k-means steps. The same file always gives the same palette.
Where the data goes
Everything happens on this page: the image is never uploaded or stored anywhere.
How to use it
- Drop an image into the upload area or choose a file.
- Move the mouse over the image, tap it, or use the arrow keys with the image selected to move the crosshair: the magnifier shows the surrounding pixels.
- Click (or press Enter) to add the colour to the history; copy the value you need as HEX, RGB, HSL or OKLCH.
- Further down is the dominant colour palette: choose how many colours you want (5 to 12) and export it as CSS or JSON.
Frequently asked questions
Why does the colour differ from what I see in another program?
The tool reads the pixel values as they are in the file. Some programs apply a colour profile (for example Display P3) and show slightly different tints; the values here are the browser's sRGB ones.
How is the palette chosen?
A sample of the pixels is taken, similar colours are grouped and the average colour of each group is used. The percentage is each group's share of the pixels.
Can I pick a colour with the keyboard alone?
Yes: select the image with Tab, move the crosshair with the arrow keys (Shift for bigger steps) and press Enter to add the colour to the history.
Is the image uploaded anywhere?
No. The image stays in your browser and is never sent to a server.
Privacy
Everything happens on this page: neither the image nor the picked colours are uploaded or stored.