How to use the Colour Picker from Image tool
- Choose an image or drop it onto the page.
- Move over the picture and use the magnifier to find the exact pixel.
- Click to sample the colour.
- Read the HEX, RGB and HSL values.
To pick a colour from an image, open the Colour Picker from Image on Archive.London and choose or drop your picture. Move over the image using the magnifier to find the exact spot, click the pixel, and read its colour as HEX, RGB and HSL values. The image is read in your browser and never uploaded.
Getting a reliable reading from a photograph
A single pixel is a poor witness. Photographs contain noise, and JPEG compression alters individual pixels, particularly near edges, so two neighbouring pixels in what looks like a flat colour can give different values. Use the magnifier to sample from the middle of an even area, away from edges, shadows and highlights, and click a few nearby points to see how much they vary.
Remember too that the colour of an object in a photo is not the colour of the object. It depends on the light, the exposure and the white balance, so a white wall photographed at dusk will sample as blue-grey. For brand colours, sample from the official logo file, not from a photo of a sign.
Values are read from the image as your browser decodes it, in 8-bit sRGB.
HEX, RGB and HSL: three ways of writing one colour
All three describe the same thing. RGB gives the red, green and blue components as numbers from 0 to 255. HEX is those three numbers written in base 16 and run together, so RGB 255, 136, 0 is #FF8800. Web designers use it because it is compact.
HSL rearranges the information into hue, saturation and lightness. Hue is an angle on the colour wheel from 0 to 360 degrees, with red at 0, green at 120 and blue at 240. Saturation and lightness are percentages. HSL is the convenient form when you want variations: keep the hue, lower the lightness, and you have a darker shade of the same colour.
All three can be pasted directly into CSS and into most design software. None of them is a print specification; CMYK and spot inks are a separate matter.
Colour in film originals and their scans
Colour transparency film was the standard for magazine and advertising work because the developed film is itself the positive: an art director could lay it on a lightbox and see the colour the photographer intended, with no print in between. That makes the transparency the reference, and any scan a translation of it, shaped by the scanner, its profile and the screen you view it on.
A value sampled from a scan is therefore a fact about that file, not a measurement of the original or of the subject. It is still useful for building a palette around an image or matching a web page to it. Many of the subjects in the photography archive, from jewellery and fragrance to fashion, are ones where colour carried the commission.
Frequently asked questions
How do I find the HEX code of a colour in a picture?
Load the picture into the colour picker, move the pointer to the colour you want, and click. The tool shows the HEX code for that pixel, along with its RGB and HSL values. Use the magnifier to make sure you are on the right spot, especially in detailed areas where colours change over a few pixels.
Why do I get different values each time I click the same colour?
Because areas that look uniform seldom are. Camera noise, lighting gradients and JPEG compression all introduce small differences from one pixel to the next. Sample from the centre of an even patch, try several points, and choose a representative value. For exact brand colours, use the official specification.
Does the picked colour match what Photoshop shows?
Usually, for ordinary sRGB images. Differences can appear when a file has a wide-gamut colour profile, such as Adobe RGB or Display P3, because this tool reads the image in 8-bit sRGB as the browser presents it, whereas professional software may report values in the file's own colour space.
Can I pick colours from a screenshot or a logo?
Yes. Any image your browser can open will work, including screenshots and logo files. Logos saved as PNG give the cleanest readings, since PNG is lossless and flat colours stay flat. JPEG versions may show slight variations around the edges of shapes, so sample well inside each area.
Is my image uploaded when I pick colours from it?
No. The image is opened and read by your browser on your own device. It is not sent to a server, nothing is stored, and no account is needed. The tool works offline after the page has loaded, so you can use it on unreleased designs or private photographs without them leaving your computer.
