Color Picker from Image

Everything runs in your browser. Your data never leaves your device.

What this tool does

This image colour picker finds the exact colour of any point in a photo, screenshot or logo. Click or tap a spot to get its HEX, RGB and HSL codes, ready to copy into a design tool, website or app. It also extracts the main colours of the whole image as a palette, with the share of the picture each colour covers, which is handy for building a colour scheme from a photo or matching a brand’s colours. Think of it as a color selector, color finder and palette maker for any picture.

How to use it

  1. Choose, drop or paste an image.
  2. Click or tap anywhere on it. The colour and its codes appear below.
  3. Keep clicking to collect up to ten colours.
  4. Scroll to Main colours in this image for the automatic palette, and press Copy on any colour.

How it works

When you click, the tool reads the single pixel under your pointer from a copy of the image drawn in your browser. For the palette, it shrinks the image to about 200 pixels on its longest side, ignores transparent pixels, and groups the remaining colours into six clusters. Each swatch shows a cluster’s average colour.

Example: in a beach photo, the palette might show sky blue (#7fb3d5, 40%), sand (#e3c9a0, 30%) and sea green (#2e8b8b, 15%).

Tips

Frequently asked questions

How do I find the colour code of something in a photo?

Upload the photo and click or tap the spot. The HEX, RGB and HSL codes appear straight away, with buttons to copy them.

How are the main colours of the image found?

The tool groups similar pixels together (k-means clustering) on a small copy of the image and shows each group's average colour with its share of the picture.

Why does the colour differ slightly from what I expected?

Photos contain many slightly different shades, especially on edges, shadows and textures. Click a few nearby points; the list of picked colours keeps the last ten.

Is my image uploaded?

No. The picture is read by your browser on your device and is never sent anywhere.

Last updated: · What's new

Related tools