Image Color Picker

Upload a photo, screenshot or logo and click any point to get its exact color as HEX, RGB and HSL. A zoom loupe helps you hit the right pixel, your last 10 picks are kept for easy comparison, and the five main colors of the image are found for you automatically. Nothing is uploaded.

Runs entirely in your browser. Nothing you enter is uploaded or stored.

Rate this tool

Be the first to rate this tool

How to use the Image Color Picker

  1. Click the box or drag an image onto it. You can also paste a screenshot.
  2. Move over the image and use the magnifier to aim at the exact pixel.
  3. Click or tap to pick it. The HEX, RGB and HSL codes appear below.
  4. Click Copy next to the format you need, or use the top 5 colors palette.

Get the exact color code from any image

Designers, developers and crafters often need to match a color they can see but cannot name: a brand color in a logo, the blue of a sky in a photo, or a button color in a screenshot. This tool reads the actual pixel value from your image, so you get the true color stored in the file rather than a guess. Each pick shows three common formats side by side, ready to copy into CSS, design software or a paint store's color matcher.

HEX, RGB and HSL explained

  • HEX (for example #1E88E5) is the six-digit code used most often in web design, CSS and tools like Figma or Canva. Each pair of digits is the amount of red, green and blue from 00 to FF.
  • RGB (for example rgb(30, 136, 229)) gives the same three amounts as numbers from 0 to 255. Many apps and programming languages use this form.
  • HSL (for example hsl(208, 79%, 51%)) describes the hue on a 360° color wheel, plus saturation and lightness as percentages. It makes it easy to create lighter, darker or softer versions of a color.

If the pixel is partly transparent, such as at the soft edge of a PNG logo, the tool adds the transparency as an alpha value: an eight-digit HEX code, rgba() and hsla().

Picking the right pixel

Photos are rarely one flat color. Shadows, highlights, compression and noise mean neighboring pixels can differ a lot. The magnifier shows an enlarged 11 × 11 pixel area with the center pixel outlined, so you can see exactly what you are about to pick. On a phone, place your finger on the image, slide it until the loupe is centered on the spot, then lift your finger. Pick a few spots and compare them in the recent colors row to find the one that represents the area best.

The top 5 colors palette

When an image loads, the tool groups similar colors together and lists the five that cover the largest share of the picture, with a rough percentage for each. It is a quick way to pull a color scheme from a mood board photo, check which colors dominate a product shot, or start a palette for a website. Transparent pixels are ignored. Because similar shades are merged, the percentages are approximate.

Private and accurate

The image is read with your browser's canvas and never leaves your device. Colors come straight from the decoded pixels, at full resolution, even when the preview on screen is smaller. Note that some browsers convert images with a wide color profile, such as Display P3 photos from newer phones, into standard sRGB for display, so a value can differ slightly from what a professional photo editor reports. Need to prepare the image first? The image cropper and image resizer run in your browser too.

Image Color Picker FAQ

How do I find the HEX code of a color in an image?

Upload the image, then click or tap the color you want. The HEX code appears right away, along with RGB and HSL, and you can copy it with one click.

Can I pick colors from a screenshot?

Yes. Take a screenshot, then paste it with Ctrl+V (Cmd+V on Mac) or save it and upload it. Screenshots usually give very exact colors because they are not heavily compressed.

Why does the picked color look slightly different than expected?

Photos contain shading, noise and compression, so nearby pixels vary. Use the magnifier to aim precisely, or pick several points and compare them in the recent colors row.

How are the top 5 colors chosen?

The image is sampled, similar shades are grouped together, and the five groups that cover the most of the picture are shown with their approximate share.

Is my image uploaded?

No. Everything happens in your browser and the image never leaves your device.

Related tools

All Image Tools