Image Color Picker

Click any point of a picture to get its exact HEX, RGB and HSL color.

Image Color Picker tool

Tip: you can also paste a picture with Ctrl+V.

About the Image Color Picker

Matching a brand color from a logo, or a shade from a product photo, is guesswork by eye. This image color picker gives you the exact value instead: hover over the picture to see a magnified loupe, click a pixel and copy its HEX, RGB or HSL code. Picked colors are kept in a list, so you can collect a small palette from one image.

Every pick is added to a list, so you can collect the colors of a whole brand or design and copy them all at once. For photos, choose a 3 × 3 or 5 × 5 average instead of a single pixel; it smooths out noise and compression artifacts and gives a color that better represents the area you clicked.

The picture is read at full resolution, even when the preview is scaled down to fit the screen, so the values are exact. You can also move a cursor with the arrow keys and pick with Enter. Everything runs in your browser, and the image is never uploaded.

To pull out the main colors automatically, use color palette from image. To convert a color you picked between formats, try the HEX to RGB converter, and to check that two colors have enough contrast, use the contrast checker.

How to use the Image Color Picker

  1. Open the pictureChoose an image or drop it on the box, or paste a screenshot with Ctrl+V.
  2. Point and zoomMove over the picture; the loupe shows the pixels under the pointer, magnified.
  3. Click to pickClick or tap a point. Its HEX, RGB and HSL values appear, ready to copy.
  4. Collect colorsKeep clicking to build a list, then copy all the HEX codes at once.

Image Color Picker features

  • HEX, RGB and HSL values
  • Magnifying loupe for precise picks
  • Single pixel, 3 × 3 or 5 × 5 average
  • Full-resolution color reading
  • List of picked colors with copy buttons
  • Copy all codes at once
  • Keyboard cursor with arrow keys
  • Nothing is uploaded

Common uses

  • Matching a website color to a logo
  • Finding the exact colors of a screenshot
  • Collecting a brand palette from marketing images
  • Getting paint or fabric reference colors from photos
  • Checking colors in charts and illustrations

Picking exact colours from images: HEX, RGB and HSL explained

By the FreeToolsWorld editorial team · Updated November 2026 · How we write and check our guides

Seen a colour in a photo, logo or screenshot that you want to reuse? An image colour picker gives you its exact value, ready to paste into a design tool, a website stylesheet or a document. This guide explains the colour codes you will see, why the same "colour" can give slightly different values, and how to pick colours accurately.

The three common colour formats

FormatExampleWhere it is used
HEX#2453E6websites, CSS, design tools
RGBrgb(36, 83, 230)CSS, image editors, programming
HSLhsl(225, 79%, 52%)CSS, adjusting shades and tints

All three describe the same colour in different ways. HEX is RGB written in base 16: the first two characters are red, the middle two green and the last two blue, each from 00 to FF (0 to 255). HSL describes hue (the position on the colour wheel), saturation (intensity) and lightness, which makes it easy to create lighter or darker versions of a colour. Color Converter converts between these formats and more.

Why picked colours vary

Photos are made of millions of pixels, and neighbouring pixels are rarely identical. Texture, lighting, shadows and compression noise all make colours vary. Picking from a single pixel can give a value that is slightly off from what your eye perceives as "the colour". To pick reliably:

  1. Zoom in with the loupe and choose a pixel in the middle of a flat area, away from edges.
  2. Pick from several points and compare; if they differ, choose a typical value.
  3. Avoid shadows, highlights and reflections, which shift the colour.

Brand colours from logos

If you need a company's exact brand colour, the most reliable source is its official brand guidelines. Picking from a logo image works well when the image is a PNG or SVG with flat colours. JPG logos often have compression noise around edges and slightly shifted colours, so pick from the centre of a large area.

Screenshots versus photos

Screenshots of websites and apps give exact colours, because they capture the digital values directly, provided the screenshot is saved as PNG. Photos of real objects capture colours as affected by lighting and camera settings. A red car photographed at sunset and at noon gives very different values. Use photos for inspiration, not as exact references for physical colours such as paint.

Colours on screen versus in print

Screens mix light in RGB, while printers mix inks in CMYK. Some bright screen colours, especially vivid blues and greens, cannot be printed exactly. If you pick a colour for printed material, convert it with RGB to CMYK Converter and ask your printer for a proof. For paint, take a physical sample to the shop rather than relying on a screen colour.

A worked example: matching a website button to a photo

You have a hero photo of a beach and want a button colour that feels part of it. Zoom into the sea and pick a few points; suppose you get values around #2E8FB5. That turquoise blue will sit naturally on the page. Check that white text on it is readable with Color Contrast Checker; if the contrast is too low, darken the colour a little, for example to #23708F, by reducing HSL lightness. You now have a button colour that matches the photo and meets accessibility guidelines.

Building a palette from picked colours

Pick a few colours from an image you like, such as a dominant colour, a darker shade and an accent, and you have the start of a palette. For a quick automatic version, Color Palette from Image extracts the main colours of a whole picture at once.

Checking colour accessibility

A colour picked for text or buttons must contrast enough with its background. Large text needs a contrast ratio of at least 3 to 1 and normal text 4.5 to 1 under common accessibility guidelines. Always test picked colours before using them for text.

Quick tips

  • Use PNG screenshots for exact digital colours.
  • Pick from flat areas, not edges.
  • Save picked colours in a list so you can compare them.
  • Record colours in HEX for websites and HSL when you need variations.

Keeping a record of colours you use

Designers keep a small colour library for each project: the picked value, where it came from and what it is used for, such as "button background" or "heading text". Recording colours in this way stops the gradual drift that happens when slightly different shades are picked by eye on different days, and it makes it easy to hand a consistent palette to a developer, printer or colleague later.

Picking colours for charts and data

When building charts, pick colours that are clearly different in lightness as well as hue, so they remain distinguishable when printed in black and white or seen by colour-blind readers. Picking a dark, a medium and a light colour from the same photo gives a harmonious set that still separates well.

Privacy

The image is analysed in your browser. Nothing is uploaded, so you can pick colours from private designs and client work safely.

Frequently asked questions

How do I get the color code from an image?

Open the image and click the point you want. The tool shows its HEX code, such as #E53935, along with RGB and HSL values. Press Copy next to the format you need and paste it into your CSS, design app or document.

Why are colors in a photo slightly different each time I click?

Photos contain noise and JPG compression creates small variations, so neighbouring pixels differ a little. Set the sample size to 3 × 3 or 5 × 5 average to get a steadier color that represents the area rather than one pixel.

What is the difference between HEX, RGB and HSL?

They describe the same color in different ways. HEX is a six-digit code used in web design, RGB lists the red, green and blue amounts from 0 to 255, and HSL gives hue in degrees with saturation and lightness as percentages, which is easier to adjust by hand.

Is the color exact even when the preview is small?

Yes. The preview is scaled to fit the screen, but colors are read from the image at its full resolution, at the pixel under the pointer. The loupe shows those real pixels magnified.

Can I pick colors on a phone?

Yes. Touch the picture and slide your finger: the loupe appears above your finger so you can see what you are on, and the color is picked when you lift it.

Can I use it without a mouse?

Yes. Focus the picture with the Tab key, move the cursor with the arrow keys (hold Shift to move faster) and press Enter to pick the color under the cursor.

Is my image uploaded?

No. The picture is opened and read by code running in this page on your own device, and it is never sent to a server.