The brand sheet is in a drive nobody can find, the designer who chose the colors has moved on, and what you actually have is a good photo of the product. The packaging is the right red. The label is the right blue. You need those colors as values, for a web page, a slide deck or a mockup, and the photo is the only source left.
A photo can get you close, and close is genuinely useful. What it cannot do is hand back the official specification. This guide shows how to recover a working match with the free Image Color Picker on Ovatly: where to sample, how to handle the variation you will find, and exactly where the honest limits of the method sit.
Contents
- Quick answer
- What a photo can and cannot tell you
- Why the numbers move: light and compression
- How to sample the color, step by step
- Worked example: a red panel and a grey handle
- Limitations and honest tradeoffs
- Common mistakes
- FAQs
- Conclusion
- References
Quick answer
Open the product photo in the Image Color Picker, hover over a flat, well-lit part of the colored surface, and click a few spots: each click saves that pixel's HEX, RGB and HSL to your picked list. Take the reading that repeats as your working match, and copy its HEX with one click. Go in expecting a close match, not the certified brand value, because light and JPEG compression have already moved the numbers before you sample a single pixel.
What a photo can and cannot tell you
A brand color starts life as a decision: a value picked in a design file and written down on the brand sheet. A photo of the product is something else. It is a record of light bouncing off a physical object, taken by a particular camera, under particular lighting, and then compressed into a file. Sampling the photo recovers the color of the photo's pixels, which is the product's color as recorded, not as specified.
That distinction decides what the match is good for. For a web banner, a presentation, a social post or a mockup, a close match is invisible in practice: nobody holds your slide next to the packaging under a lamp. For reprinting the packaging itself, or anything that will sit side by side with official material, a photo match is not a substitute for the certified value, and treating it as one is how slightly wrong reds end up in print.
Why the numbers move: light and compression
Two forces shift the values before you ever click. The first is light. The same red surface reads brighter in direct sun, duller under office lighting, and darker in its own shadow. The camera records what it saw, so the pixels hold the lit color, not the surface color in the abstract. Sampling a well-lit flat area is how you get nearest to the surface itself.
The second is compression. A JPEG photo rarely holds one flat color across an area: neighboring pixels vary a little from compression, so clicks a few pixels apart return slightly different values. Neither reading is an error. The file genuinely contains both, and the honest response is to sample a small cluster and take the value that repeats, rather than trusting whichever pixel a single click happened to land on.
How to sample the color, step by step
- Start with the best photo you have: the product in even, bright light, with a flat area of the color you need. Avoid shots where the surface is mostly shadow or glare.
- Open the Image Color Picker and choose the photo. It is drawn at full resolution, so you are sampling the real pixels, not a scaled preview.
- Move your pointer over the flat, well-lit area. Use the magnifier to land precisely, and watch the readout preview each pixel's HEX, RGB and HSL as you hover.
- Click or tap several spots inside that area to save them to your picked list. Compare the saved readings and take the one that repeats as your working match.
- Copy the HEX of the match with one click for web work, and note the RGB and HSL values alongside it for editors and for making lighter or darker variants later.
Worked example: a red panel and a grey handle
Suppose the product is a kettle: a pure red body and a mid grey handle, photographed in good light. Hover over a flat part of the red body and the readout shows #FF0000, rgb(255, 0, 0) and hsl(0, 100%, 50%). Click a few nearby spots in the same flat area and save them all; where the readings repeat, that repeated value is your working match for the red.
Move to the grey handle and the same routine gives #808080, rgb(128, 128, 128) and hsl(0, 0%, 50%): equal channels, no hue, just lightness. The HSL values earn their keep immediately if the job continues. A paler version of the red for a background tint keeps hue 0 and the saturation, and raises the lightness above 50 percent, instead of guessing at three new RGB numbers.
Limitations and honest tradeoffs
The match is only as good as the photo. A dim, heavily compressed or color shifted photo yields a dim, shifted match, and no sampling routine can recover information the file never kept. Start from the largest, cleanest photo available.
The reported value itself is exact: the literal pixel value stored in the file, converted with the standard formulas. Exact numbers can still look different in different places, because two monitors may render the same HEX slightly differently. And semi-transparent elements, a translucent label over a colored body, for example, report their stored RGB plus an opacity note, since the color you see also depends on what is behind the pixel. Finally, the limit that matters most: this produces a working match. The certified brand value still lives on the brand sheet or in the original design file, and if that document turns up later, it wins.
Common mistakes
- Sampling once and trusting it. One click lands on one pixel, and JPEG pixels vary. Take a small cluster and use the reading that repeats.
- Sampling a shadow, a reflection or an edge. Shadowed pixels honestly report a darker color, and edges blend two colors. Stay inside a flat, well-lit area.
- Treating the match as the official spec. Fine for a banner or a deck; not fine as the source for a packaging reprint. Keep the two jobs separate.
- Working from a tiny thumbnail. A small, heavily compressed copy has already thrown detail away. Sample from the largest version of the photo you have.
- Judging the match on one screen only. Displays render the same HEX slightly differently. Check the match on a second screen before calling it wrong.
FAQs
Can a photo give me the exact official brand color? No. A photo records the color as the camera saw it under that light, and JPEG compression shifts nearby pixels. Sampling gives a close working match in HEX, RGB and HSL. The certified value is the one on the brand sheet or in the original design file.
Where on the product should I sample? A flat, well-lit area of the colored surface, away from shadows, reflections and edges. Sample a few spots there and use the reading that repeats.
Why do readings from the same photo differ slightly? JPEG photos rarely hold one flat color; compression makes neighboring pixels vary a little. That variation is in the file itself, which is why a small cluster of samples beats a single click.
Why does the matched color look different on another screen? The reported value is the literal pixel value stored in the file, but two monitors can render the same HEX slightly differently. The number is exact even when displays are not.
Is my product photo uploaded anywhere? No. The Image Color Picker runs in your browser and reads the pixels locally; the photo never leaves your device.
Conclusion
A product photo will not replace the brand sheet, but sampled carefully it gives you a working match you can use today: a few clicks in a well-lit flat area, the repeated reading taken as the value, and HEX, RGB and HSL recorded together. The Image Color Picker does the reading at full resolution, in your browser, with nothing uploaded. If you want the underlying technique on its own first, our guide to getting RGB and HSL values from any pixel in an image walks through the three formats and what each is for. For more guides in this series, see our Image Tools guides, which pair each technique with the free tool that performs it.
References
- MDN Web Docs, on CSS color values and their notations: https://developer.mozilla.org/en-US/docs/Web/CSS/color_value
- MDN Web Docs, on hexadecimal color notation: https://developer.mozilla.org/en-US/docs/Web/CSS/hex-color