← All tools

Image color picker

Add an image or a photo, click any point and get the color's HEX, RGB and HSL code. The image stays in your browser and is never uploaded.

Type HEX (#3b82f6), rgb(), hsl() or a color name (blue). Click any swatch below to select that color.

Tints and shades

Complementary color

Analogous colors

Triadic harmony

Why pick a color from a photo?

When you design a logo, a business card, a website or a social media post, you often want to reuse an exact color from a photo: the red of a shop sign, the shade of a product or the sky in a picture you like. Colors picked by eye always come out slightly different on screen. This tool gives you the exact code of the pixel you click, so you can use the same color in a design app, in CSS or in a print file.

HEX, RGB and HSL explained

HEX writes a color as a six-digit code such as #e63946. Websites and tools like Canva and Figma use it most.

RGB writes a color as amounts of red, green and blue light from 0 to 255: rgb(230, 57, 70). This is how screens produce color, and some apps ask for colors this way.

HSL writes a color as hue (0–360 degrees), saturation and lightness percentages. It is the easiest format when you want a lighter or darker version of the same color: just change the lightness.

All three describe the same color. Which one you copy depends on where you will use it.

Dominant colors and palettes

When you add an image, the tool also extracts the colors that cover most of it. This is a quick way to build a matching palette from a photo, for example picking four or five colors for a menu from a photo of a café, or choosing shop colors from a product shot.

Because of light and shadow, even a single surface in a photo is made of many shades. If you want the overall color of an area rather than one point, the dominant colors are usually the better choice.

If you are going to print

Screen colors (RGB) and print colors (CMYK) are not identical. Bright blues, greens and oranges in particular can look duller on paper. If you are printing business cards or posters, give the HEX code to your printer and ask for a test print if you can.

Your image is never uploaded

The image is opened only in your browser, and the colors are read on your own computer. It is not sent to any server, not stored and not shared. You can safely use it with client designs and personal photos.

How to use it

  1. Choose an image, drag and drop it or paste it with Ctrl+V.
  2. Move over the image: the magnifier shows the pixel right under the pointer. Click the point whose color you want.
  3. Copy the HEX, RGB and HSL values with the Copy buttons. You can also pick one of the image's dominant colors.

Frequently asked questions

How do I find the code of a color in a photo?

Add the photo to this page and click the point whose color you want. The page shows that pixel's color as HEX, RGB and HSL. For a more precise pick, use the magnifier, or move pixel by pixel with the arrow keys and press Enter.

Is my image uploaded anywhere?

No. The image is opened and processed only in your browser. It is not sent anywhere and not stored.

How are the dominant colors found?

The image is shrunk, the colors are grouped and the largest groups are shown as the dominant colors. Very close shades are merged into one. It is an estimate, so use it as a starting point for design.

Why can the picked color differ a little from what I see?

The page reads exactly that pixel's value. In photos neighbouring pixels often differ slightly, so even clicking the same spot twice can vary by a unit or two. For the general color of an area, look at the dominant colors.

Which image formats are supported?

Whatever the browser can open: PNG, JPG, WebP, GIF, AVIF and more. Very large images are processed at a reduced size on screen to keep things fast.

Related tools