1. Home
  2. Images
  3. Image Color Picker

Image Color Picker

Click any point in an image to get its HEX, RGB and HSL color code.

Runs in your browser · No upload

This is a sample color chart. Upload or paste a photo to replace it.

Magnifier
Under pointer
-
Click the image and the color appears here.
Recent colors

No colors picked yet.

How to use

  1. Drop a photo or screenshot onto the box, or click to choose one. You can paste a screenshot straight in with Ctrl+V (or Cmd+V).
  2. Move the pointer over the image. The magnifier shows the surrounding pixels up close, and the color under the pointer updates as you move.
  3. Click a point to get its HEX, RGB and HSL codes, each with its own Copy button. Every color you pick is added to Recent colors.

It works from the keyboard too: Tab to the image, move one pixel at a time with the arrow keys (ten with Shift), and press Enter to pick.

Reading the color codes

Format Example Meaning
HEX #FF5B1F Red, green and blue as two hexadecimal digits each (00 to FF). The most common format on the web and in design tools
RGB rgb(255, 91, 31) The intensity of red, green and blue, from 0 to 255
HSL hsl(16, 100%, 56%) Hue (0 to 360°), saturation and lightness (0 to 100%). Handy for making lighter or darker shades of the same color

All three rows describe the same color: hex FF is 255 in decimal, 5B is 91 and 1F is 31.

Tips for accurate picks

  • Switch Sample size to a 3×3 or 5×5 average to smooth out JPEG compression artifacts and noise in photos. For logos and icons with flat colors, a single pixel is exact.
  • In semi-transparent PNGs, the average is weighted by opacity, so transparent pixels don’t wash out the color.
  • If a photo has a wide-gamut profile such as Display P3, the browser converts it to sRGB, so the values can differ slightly from what an editor like Photoshop shows.
  • Very large images (over roughly 16.7 million pixels) are scaled down to fit browser limits before they’re read.

Picking from the screen

In browsers that support the EyeDropper API, such as Chrome and Edge, a Pick from screen button appears. It lets you grab a color from anywhere on your screen, including other windows and web pages, not just the image. In browsers without support, the button is hidden.

FAQ

Where are my picked colors stored?

Your 16 most recent colors are kept only in this browser’s local storage. Clear list removes them at any time, and the image itself is never stored.

Which format should I copy for a website?

HEX (#ff5b1f) is the simplest in CSS. RGB and HSL are handier when you also need transparency or want to adjust the lightness.

Can I use the color to decorate a photo?

Paste the HEX code into the color field of Add Border to Image or Add Watermark to Image to match the photo’s colors.

Your image is read in your browser and never uploaded to a server.

Can't find the tool you need?

Tell us what you want to do. We build the most requested tools first.