Skip to content
DoItJag

Image Colour Picker

Find the exact colour code of any spot in a picture. Point at it, see the pixels magnified, click to pick, and copy the HEX, RGB, HSL or HSV code. Collect several colours in a list as you go.

or drop a file here · JPG, PNG, WebP · up to 50 MB

Processed on your device. Your files are not uploaded.

About the Image Colour Picker

Designers and developers often need the exact code of a colour they can see in a picture: the blue of a logo, the green of a button in a screenshot, the shade of a wall in a photo. This picker reads that code straight from the pixels.

Picking a colour

Open an image and move the pointer over it. A magnifier shows the eleven by eleven pixels around the pointer with the sampled area outlined. The colour codes update as you move. Click or tap to add the colour to your list. On a keyboard, focus the image, move one pixel at a time with the arrow keys (ten with Shift held) and press Enter to pick.

Single pixel or average

A flat graphic such as a logo saved as PNG has clean areas of one colour, so a single pixel gives the exact value. Photos are different: every pixel varies slightly because of noise, and JPG compression adds blocky shifts. Averaging a 3 × 3, 5 × 5 or 11 × 11 square gives a more representative colour for such images. Transparent pixels are left out of the average.

The codes

Each colour is shown as HEX (as used in web design and most apps), RGB, HSL and HSV. Every code has its own copy button, and the list of picked colours can be copied as HEX codes in one go. For other notations, paste a code into the Colour Code Converter.

Picking from the screen

Chrome and Edge on computers include a system eyedropper. Where it exists, a button lets you pick a colour from anywhere on your screen, even outside this page. Other browsers do not support this yet, so the button does not appear there.

Accuracy

Values are read in sRGB after your browser decodes the file, so a picture with an unusual embedded colour profile may give slightly different numbers than a professional editor.

Privacy

The image is read only by your browser and is not uploaded.

How to use Image Colour Picker

  1. Choose a JPG, PNG or WebP image.
  2. Move over the image (or use the arrow keys) and watch the magnifier and codes.
  3. Click or press Enter to pick a colour, then copy its code.

Privacy: how it works

Your files are processed on your own device by your browser. They are not uploaded to any server.

Frequently asked questions

Why is the colour slightly different from the original design?

JPG compression and scaling change pixels a little, and photos are noisy. Use a PNG of the design if you have one, or a 3 × 3 or 5 × 5 average for photos.

Can I pick a colour from outside the image?

In Chrome and Edge on a computer, the "Pick a colour from anywhere on the screen" button uses the browser's own eyedropper. Other browsers do not offer it yet.

Which colour space are the codes in?

sRGB, as your browser decodes the image. Colour profiles embedded in the file may be converted by the browser before the values are read.