The quick answer

Drop any image and click a pixel: HEX, RGB and HSL appear together, and one click on any of the three copies it. The image is decoded by your browser's canvas, so nothing uploads and picking works with Wi-Fi off. Before a pulled color becomes text, check WCAG's 4.5:1 body-text threshold.

The color you can't name but need exactly

Every designer knows the moment. A client's existing product photo has a blue in it, the good blue, the one their whole brand quietly hangs on, and your job is to put that exact blue into a website header. 'Sort of a cornflower?' is not a specification. The eyedropper at the top of this page is: drop the image in, click the color, and the exact value lands in your clipboard.

The tool gives you hex, RGB and HSL for any pixel you touch, with one-click copy on each and a swatch preview of the picked color. Your browser's canvas decodes the image locally, nothing uploads, which matters more than it sounds when the source is an unreleased product shot or a competitor's dashboard.

I've pulled brand colors out of favicons, album covers, kitchen tiles photographed at a client's house, and one memorable espresso machine. The tool is the same in every case; the craft is in knowing which pixel to click and what to do with the number afterward. Both halves of that are below.

How images store color in sixty seconds

A digital image is a grid of pixels, and every pixel is three numbers: how much red, how much green, how much blue. Each channel runs from 0 to 255, which is why you'll see a color written as rgb(59, 130, 246): 256 possible values per channel, over 16.7 million combinations across the three.

One wrinkle matters: your photo's numbers only mean something relative to a color space. The web runs on sRGB, and nearly every tool, this one included, speaks it. A 12-megapixel iPhone photo is 4032×3024 pixels tagged in the wider Display P3 space, and how that translates to sRGB is where subtle surprises live. More on that in the color-space section.

Grab a color in five seconds

  1. Load your image

    Drag in a JPG, PNG or WebP, or pick a photo from your camera roll on mobile. The image opens in the picker workspace, drawn to a canvas at up to 900 pixels on the long edge.

  2. Find the color

    Move the cursor over the image; the crosshair is your eyedropper. Aim for the fat part of a solid area, away from anti-aliased edges where two colors blend.

  3. Click to capture

    The clicked pixel's values appear immediately: hex, RGB and HSL, with a swatch preview of the color. One click on any of the three copies it to your clipboard.

  4. Collect what you need

    Click and copy, color by color. A disciplined pull is usually five to eight values, one or two dominants, a couple of accents, a neutral or two. Jot names in your notes as you go.

  5. Check contrast before shipping

    Before a pulled color becomes text, run its hex through a contrast check: WCAG requires 4.5:1 for body text, 3:1 for large. The contrast section below lists the brand colors that famously fail.

The eyedropper, mechanically

Underneath the interface this is one of the oldest tricks in browser graphics. Your image is drawn to a canvas, the same rendering surface games use, and the canvas exposes its pixels through a method called getImageData. Give it a coordinate and it hands back the red, green and blue values of that exact pixel. That's the whole magic: a direct read of the image's pixel data, no interpretation, no guessing.

The interesting engineering is everything wrapped around that read. A single getImageData call is nearly free, so a pick costs effectively nothing, which is why the whole tool runs instantly, offline, in a tab. The notation conversions, hexadecimal, decimal RGB and the hue-saturation-lightness triple, are pure arithmetic on those three numbers, done the moment you click.

One calculation this tool deliberately leaves to you is worth knowing about: contrast. WCAG requires 4.5:1 between text and its background for body copy, and a surprising number of beautiful brand colors fail it. The hex you copy is all any contrast checker needs; the section below shows which colors bite.

One color, three notations

NotationExampleReads asBest for
Hex#3B82F6Red 59, green 130, blue 246 in base 16CSS, design tools, brand docs, clipboard
RGBrgb(59, 130, 246)The same values in decimalSpreadsheets, programmatic tweaks, documentation
HSLhsl(217, 91%, 60%)Hue angle, saturation, lightnessSame hue, darker or lighter, for hover states and ramps

HSL earns its column because of how humans actually work. 'The same blue, 20% darker' is an HSL operation, drop the L from 60% to 40%, while doing it in RGB requires knowing which channel to pull down and by how much. Hover states, chart gradients and accessible-tint ramps all start as HSL moves on a hex anchor.

Three pulls from real work

The client's good blue

Input

A 1600-pixel product photo of a running shoe against concrete

Output

Brand blue #2F6FED, plus concrete neutral #B7BCBF and an accent orange #F59E0B, clicked and copied one by one

This is the canonical job: one hero color and the neutrals around it. The blue became the site's primary button and link color; the concrete gray became the page background instead of pure white, which was the change that made the client say 'yes, that feels like us.' Same photo, three clicks, a design system seed.

The 'white' that wasn't

Input

A screenshot of a competitor's pricing page that looked white on casual viewing

Output

Background measured #F8FAFC, a near-white cool gray, not #FFFFFF

Pure white is harsh next to most content, and experienced designers know it, so the good sites use near-whites. This pull changed a redesign discussion from 'why does their site feel calmer' to a concrete decision: adopt #F8FAFC for surfaces, reserve #FFFFFF for cards that need to pop. Ten seconds of picking replaced an hour of vague preference.

The room the client loves

Input

A photo of a finished interior, warm afternoon light, oak floors

Output

Floor oak #C4A77D, wall greige #D9D2C5, cushion terracotta #C97B5A, a five-color palette including two deeper accents

Paint companies would love you to believe this requires their consultant. It requires a photo you already have and an eyedropper. The pulled palette went straight into a presentation template, and the terracotta became the accent color across every chart for that client, pulled from their own space, so it matched their taste by construction.

Color spaces: the sRGB assumption

Here's the wrinkle worth understanding, because it explains the two or three percent of pulls that look inexplicably off. Color numbers are relative to a color space, a definition of what 'fully saturated red' means. The web, and every tool on this page, speaks sRGB. Modern iPhone cameras capture in Display P3, a wider space that can express more intense greens and reds; the photo file carries a tag saying so.

Your browser honors that tag when it displays the photo. But the eyedropper's canvas stores sRGB, so the value you copy is the sRGB translation of the pixel, and colors at the edge of the wider gamut can come back slightly more muted than they looked in the photo viewer. It's not an error; it's a translation between two dictionaries of color, and it's why colors pulled from iPhone photos sometimes need a small saturation nudge after the fact.

Contrast: the number that keeps you out of trouble

A pulled color that fails accessibility checks is a beautiful liability. WCAG contrast requirements are strict for good reason: 4.5:1 for body text, 3:1 for large text and essential UI elements. The ratio is pure arithmetic on the hex you copied, and any online contrast checker settles it in a second, so the failure is worth catching at pick time rather than at launch audit. Many brand colors, especially mid-tone yellows, teals and light grays, fail against white, and the fixes come cheap: darken the anchor for text use while keeping the brighter original for large surfaces, or flip to the tint as a background and use the anchor as the text.

  • Mid-tone yellow and amber brand colors: frequently below 3:1 on white. Reserve them for large headings or darken for text.
  • Light grays as text: the #B7BCBF neutrals you pull from photos almost always fail for body copy. Move to a darker step for text.
  • Teal and mint accents: gorgeous on buttons as fills with white text, rarely adequate as text on white.
  • Pale tints used as 'subtle' text: the subtitling trend that quietly fails every audit. Darken two steps and keep the softness in the background instead.

When the reading looks wrong

Nine pulls out of ten are boringly correct. The tenth usually has a name:

  • Anti-aliased edges: pixels on a boundary are blends of the two colors meeting there. A click one pixel inside the edge of a logo will return something neither color would claim. Click the fat part of the shape, a pixel inside the edge.
  • JPEG halos: compression smears sharp edges and rings flat areas near high contrast, shifting values slightly. PNG screenshots read exact; JPEG photos read approximately, by design.
  • A 'different color' on a different screen: that's calibration, not the tool. The values are identical; displays aren't. Judge brand decisions on the display your audience uses.
  • Gradients everywhere: in a gradient there is no 'the color,' only the color at each pixel. Pick a specific point deliberately, or pick two and call it a range.

Privacy: unreleased designs stay unreleased

Think about what people actually eyedrop: competitor dashboards under embargo, client product photos before launch, unreleased packaging, screenshots of internal tools. Uploading any of that to an online picker means handing it to a server of unknown provenance and hoping the retention policy is both honest and short.

This tool can't upload your image because there's no upload step in its architecture. The canvas read happens on your device, full stop, and the proof is that picking still works with your Wi-Fi switched off. For agencies working under NDA, that's not a convenience. It's the difference between a tool you're allowed to use and one you're not.

Frequently asked questions

What is a hex color code?

Six hexadecimal digits representing red, green and blue intensities from 00 to FF; #3B82F6 means red 59, green 130, blue 246. Hex is the notation CSS, design tools and brand guidelines use, which is why it's the default output here.

How do I match a color from a photo exactly?

Pick from the center of a solid area, away from anti-aliased edges where two colors blend; an edge pixel returns something neither color would claim. Copy the hex and paste it into your editor's color field. The match is exact because both use the same sRGB values.

Why does the picked color look different on my phone?

Screens render the same values differently; calibration, brightness and panel technology all shift perception, and wide-gamut phones can over-saturate sRGB content. The underlying code is identical everywhere; what changes is display. For decisions that matter, judge on the screen the work will be viewed on.

Can this tool give me Pantone or CMYK values?

It gives hex, RGB and HSL, the screen-native notations. Pantone and CMYK belong to ink systems that require physical references to match properly; a printed swatch book is the only trustworthy source for print work. The tool's RGB values are the correct starting point for that conversation.

Does the color picker work on mobile?

Yes. Tap to load a photo from your camera roll and tap the exact spot; the image draws at up to 900 pixels on its long edge, and the hex code copies to your clipboard with one tap. The tap coordinates are computed from the canvas's on-screen box, so browser zoom does not break accuracy.

Is my image uploaded to a server?

No. The image loads into your browser's memory and every color reading happens locally on your device. Nothing is transmitted, stored or logged, which matters when the image is an unreleased design, a client's product photo, or anything under NDA.

How many colors can I collect from one image?

As many as you like. Every pick is a click and a copy (the panel shows the most recent pick), so a disciplined pull of five to eight colors takes a couple of minutes: one or two dominants, a couple of accents, a neutral or two. Collect them in your notes or stylesheet as you go.

Building a color system after the pick

A pulled hex code is a starting point, not a finished color system. The Color Converter turns one pulled value into every notation, the Random Color Generator covers the ground-up case where no source photo exists yet, and the Aspect Ratio Calculator keeps the imagery you're restyling correctly proportioned. Same toolkit, same everything-in-your-browser promise.

  • Color Converter: turn one pulled hex into every notation, RGB, HSL and CMYK approximations.
  • Color Palette Generator: harmonize a full five-swatch palette around the color you just pulled.
  • Random Color Generator: generate candidate palettes when you're starting from zero instead of a photo.
  • WCAG Contrast Checker: the 4.5:1 test every pulled text color should pass before shipping.
  • Aspect Ratio Calculator: pair a palette with correctly proportioned image dimensions for the layout it's headed into.

Sources and further reading