Color Picker from Image
Upload an image and click any pixel to get its HEX, RGB and HSL code. A palette of the six main colors is extracted automatically. Your image stays in your browser.
Picked color
Color palette
How it works
- Drop a JPG, PNG, WebP or GIF image into the box.
- Click or tap anywhere on the image. Drag to fine-tune, and the magnifier shows the color under your cursor.
- Copy the HEX, RGB or HSL code, or click a palette swatch to copy its HEX.
FAQ
How is the palette chosen?
The image is grouped into six color clusters (k-means), sorted from the most to the least common, which gives the colors that define the picture.
Is my image uploaded?
No. The image is read in your browser and never sent to a server.
Which color format should I use?
HEX (#12A37A) is the most common in design tools and CSS. RGB is handy for code and spreadsheets, and HSL makes it easy to adjust lightness.