You can see the color you want. It is right there in the client's logo, in a product photo, in a screenshot of a site you admire. What you cannot do is type "that blue, exactly" into a design tool or a stylesheet. Software needs a code, and guessing from a colour wheel gets you a blue that is close, which on a real page looks wrong in a way visitors feel even if they cannot name it.
The fix is to read the color out of the image itself. Every pixel stores a precise value, and a color picker simply reports it. This guide shows how to pick a color from any image with the free Image Color Picker on Ovatly, what the HEX, RGB and HSL codes each mean, and how to use them to match a brand color or build a palette that belongs together.
Contents
- Quick answer
- What a color code actually is
- HEX, RGB and HSL: which form to use when
- How to pick a color from an image, step by step
- Worked example: reading pure red and mid grey
- Matching a brand color from a photo or logo
- Building a palette from one image
- Limitations and honest tradeoffs
- Common mistakes
- Troubleshooting
- FAQs
- Conclusion
Quick answer
To pick a color from an image: open the Image Color Picker, add your image, move over it and watch the magnifier and readout until you are on the exact pixel you want, then click or tap to save that color to your picked list. The tool reports the pixel as HEX, RGB and HSL, for example pure red as #FF0000, rgb(255, 0, 0) and hsl(0, 100%, 50%). Copy any saved HEX value with one click and paste it into your design tool or CSS. Colors are read at full resolution, not from the scaled preview, and the image is never uploaded.
What a color code actually is
A digital image is a grid of pixels, and each pixel stores numbers that describe its color: how much red, green and blue light it mixes. A color code is those numbers written in a standard form so any program can reproduce the same color. When you pick a color, you are not estimating what you see on screen. You are reading the stored numbers for one pixel, which is why the result is exact and repeatable.
One limit is worth knowing early: two screens can render the same code slightly differently, and print differs again. Picking gives you the true source value; it cannot control every display the color meets later.
HEX, RGB and HSL: which form to use when
The three codes the picker reports are the same color in three dialects, and each has a job it suits best.
HEX, such as #FF0000, is the web's default shorthand. It packs the red, green and blue amounts into pairs of hexadecimal digits. Use it when pasting into CSS, a design tool or a brand document: it is short, unambiguous and what most people expect to receive.
RGB spells the same amounts out as three decimal numbers from 0 to 255, such as rgb(255, 0, 0). It is the clearest form for seeing what a color is made of: equal channels mean a grey, and a dominant channel tells you the color's direction at a glance.
HSL describes color the way people think about it: a hue around a circle, a saturation from grey to vivid, and a lightness from black to white. Its strength is adjustment. To make a brand color lighter you raise the lightness; to mute it you lower saturation. Doing the same by editing HEX digits is guesswork, so when you build shades from one picked color, work in HSL.
How to pick a color from an image, step by step
- Open the Image Color Picker and choose your image. It is drawn at full resolution, which matters: the values come from the real pixels, not from a shrunken preview.
- Move your pointer over the image. The magnifier shows the pixel under your pointer enlarged, and the readout previews its color, so you can land on the precise pixel instead of the general area.
- Click or tap to save that color to your picked list. Pick as many as you need; a logo's main color, its accent and its text color can all sit in the list together.
- Copy any saved HEX value with one click and reuse it in your design tool or CSS. Keep the RGB and HSL readings alongside if you plan to adjust the color later.
On a phone the same flow works with taps: tap to place, check the readout, save the colors you want.
Worked example: reading pure red and mid grey
Point the picker at a pixel of pure red and the readout shows #FF0000, rgb(255, 0, 0) and hsl(0, 100%, 50%). Read the three forms together and they teach you the system: red at full strength, green and blue at zero; a hue of 0 degrees, fully saturated, at middle lightness.
Point at a mid grey instead and you get equal channels, for example #808080 with rgb(128, 128, 128) and hsl(0, 0%, 50%). Hue and saturation drop to zero because grey has no color direction, only lightness. Once you can read these two anchor points, most real values interpret themselves: a code with blue highest and red lowest is a blue-leaning shade, and its HSL tells you how vivid and how light it is.
Matching a brand color from a photo or logo
A logo file is the easy case: its colors are flat and deliberate, so almost any pixel inside a filled area returns the brand value. Sample two or three spots to confirm they agree, and take the code that repeats.
A photograph of the branded object is harder, because light is uneven and JPEG compression makes neighbouring pixels vary a little. Work in a well-lit, flat area away from shadows, highlights and edges. Sample a few spots and expect a small range; the middle of that range is your working brand color. Say so when you hand it over: a color matched from a photo is a close reading, not the original brand specification, and where the exact code matters, the brand's own document beats any photograph.
Screenshots sit between the two. Their colors are exact as stored, but the screenshot captured the color as the original screen rendered it, which is all a picker can ever promise.
Building a palette from one image
A photograph already contains a palette that works, because its colors were together in the real world. Pick the dominant color first, the one covering the most area. Then pick one strong accent, usually the smallest and most vivid element, plus one or two supporting shades from shadows and background. Finish with a near-neutral from the image's greys or soft whites, for text backgrounds and breathing room.
Four to six picked colors are plenty. Keep the HEX codes as the master record, and use HSL when you need tints and shades of any of them. The wider set of guides in the Image Tools category covers the companion jobs, from compressing that image for the web to turning a set of images into a single PDF.
Limitations and honest tradeoffs
The picker reads one pixel at a time. It does not average an area, identify a color's name, or tell you which of several near-identical values a designer originally chose. For flat graphics that hardly matters; for photographs it means your judgement is part of the measurement.
Semi-transparent pixels report their stored RGB plus an opacity note, and the color you see on a page also depends on what sits behind the transparent area. A code picked from such a pixel is the ingredient, not the finished dish.
A picked color is also only as good as its source. A photo taken under yellow room light shifts every value in it, so pick from the cleanest source you have, ideally the original logo or export rather than a photo of a screen.
Common mistakes
- Picking from a scaled preview. If a tool samples what you see on screen, zooming changes the answer. Pick from a tool that reads the full-resolution file.
- Sampling an edge or a shadow. Edge pixels blend two colors, shaded pixels are darker versions. Pick the middle of a flat, well-lit area.
- Trusting one pixel in a JPEG photo. Neighbouring pixels vary slightly. Sample several and take the repeating or middle value.
- Recording only HEX. Fine for pasting, but save the HSL too if you will ever need shades of the color.
- Expecting a perfect match on every screen. The code is exact; displays are not. Check critical brand work on more than one screen.
Troubleshooting
The color I picked looks different in my design tool. Check that you pasted the code into a field expecting that format, and that the tool is working in RGB rather than a print colour mode, which renders some screen colors duller. The stored value does not change between programs.
Every pixel in one area gives a slightly different code. That is normal for photographs. Sample a handful of spots in the flattest part and use the value that appears most often.
The image will not load. Use a common format such as JPG or PNG. If the file came from a camera app in a newer format, convert it first with the tools in the Image Tools category, then pick from the converted copy.
FAQs
How accurate is the picked color? It is the literal pixel value stored in the file, converted with the standard formulas. What can differ is your screen: two monitors may render the same HEX slightly differently, so judge print or brand work on a calibrated display where it matters.
Can I pick a color from a photo taken on my phone? Yes. Photos work the same as graphics. For a brand color from a photo, pick a well-lit flat area and expect small variations between nearby pixels, because the camera and JPEG compression never record one perfectly flat color.
What is HSL useful for? HSL separates hue from saturation and lightness, so it is the easiest form for making a color lighter, darker or more muted by changing one number. A palette of shades from one brand color is mostly HSL work.
Why do nearby pixels in the same color area give different codes? JPEG photos rarely contain one flat color. Compression makes neighbouring pixels vary a little, so sample a few spots in a flat area and take the value that repeats, or the middle of the small range you see.
Is my image uploaded for picking? No. The image is drawn in your browser and the pixels are read locally. Nothing about the image leaves your device, which makes the tool safe for unreleased logos and client work.
Conclusion
Picking a color is a measurement, not an artistic guess: read the pixel, record the code, and the color you admired in a photo or logo becomes a color you can use anywhere. The Image Color Picker makes that measurement precise with its magnifier and full-resolution reading, and private because the image stays on your device. When the images themselves need preparing for a document, the companion guide on how to turn images into a PDF covers the next step, and if those images are already inside a PDF you need to reorganise, merging PDFs without uploading shows that workflow too.