Image

Image Color Picker

Click any pixel of an uploaded or pasted image to get its HEX, RGB and HSL code, with a zoom loupe, pick history and the main colors.

Loading interactive tool…

Embed this tool on your site

About this tool

Image Color Picker finds the exact color of any spot in a picture. Upload a photo, drop it on the page or paste a screenshot with Ctrl+V or ⌘V, then click or tap anywhere on it. You get the pixel's color as a HEX code, an RGB value and an HSL value, each with a copy button. On a computer, a round zoom loupe follows the pointer and magnifies the 11×11 pixels around it, so you can land on a thin line or a single letter. Every pick goes into a history row of up to 16 swatches that you can click to copy again or export as CSS custom properties. Below the image, the tool also lists the eight main colors in the picture with the share of the image each covers; click one to add it to your picks. Large images are scaled to at most 2,000 pixels on the longest side. Everything runs in your browser with the Canvas API, and the image is never uploaded.

Why use it

  • Exact pixel colors: click the spot you want instead of guessing from a palette.

  • A zoom loupe for precision on thin lines, text and small icons.

  • HEX, RGB and HSL side by side, each one click to copy.

  • Pick history and CSS variable export for building a palette from a photo.

  • Private: the picture stays in your browser and is never uploaded.

How to use

  1. Upload an image, drag it onto the box, paste one with Ctrl+V or ⌘V, or press Try a sample image.
  2. Move the pointer over the picture; the zoom loupe and color codes follow it.
  3. Click or tap the spot you want. The HEX, RGB and HSL codes appear with copy buttons, and the color joins your picks.
  4. Use the arrow keys (Shift for steps of 10) and Enter to pick precisely with the keyboard.
  5. Click a main color under the image to add it, then use Copy as CSS variables to export all your picks.

When it helps

  • Matching a brand color from a logo or a product photo.
  • Grabbing the exact color of a button or background from a website screenshot.
  • Building a CSS palette from an inspiration photo.
  • Checking the color of a pixel in a design mockup before handing off to development.

Examples

Logo color

Input

Click the red of a logo on a white background

Expected result

#c4271a, rgb(196, 39, 26), hsl(5, 77%, 44%)

Export picks

Input

Pick three colors, then Copy as CSS variables

Expected result

:root { --color-1: #1b2845; --color-2: #e08e45; --color-3: #f4f1ea; }

Tips

  • Zoom in with the loupe on edges: anti-aliasing blends two colors along a border, so pick a few pixels inside the shape.
  • Screenshots of web pages give exact colors; photos vary pixel to pixel, so sample a few spots.
  • Use the main colors list to find the background color quickly, then pick accents by hand.

Frequently Asked Questions

How do I pick a color from an image?
Upload or paste the image, then click or tap the spot you want. The tool shows that pixel's HEX, RGB and HSL codes with copy buttons and adds it to your picks.
Can I paste a screenshot instead of uploading a file?
Yes. Copy a screenshot to the clipboard and press Ctrl+V on Windows and Linux or ⌘V on a Mac while the page is open.
Why is the color slightly different from what I expected?
A photo's pixels vary even in areas that look flat, and JPEG compression adds small shifts. Use the zoom loupe to land on the exact pixel, or pick a few nearby spots and compare.
Does it work on phones?
Yes. Tap the image to pick a color; the loupe appears briefly at the tapped spot so you can see what you picked.
What are the main colors under the image?
The tool groups similar pixels and lists the eight largest groups with the share of the image each covers. Click one to add it to your picks.
Is my image uploaded?
No. The image is drawn onto a canvas in your browser and read there. Nothing is sent to a server.

Explore the category

Glossary

HEX / RGB / HSL
Three ways to write the same color. HEX (#3b82f6) is common in CSS and design tools, RGB lists red, green and blue from 0 to 255, and HSL gives hue, saturation and lightness.
Eyedropper
A tool that reads the color of a single pixel under the pointer, as in design apps.
Anti-aliasing
Blending of pixels along edges to smooth them, which creates in-between colors at borders.
A LITTLE HELP. A LOT DONE.
Good tools.
Great flow.

Your shortcut to the everyday. Create, convert, calculate,
and get back to what you love.

✓ Free to use✓ No sign-up✓ 500+ possibilities