Pick a color from an image

Click or tap a color in an image to see its code in five forms. Use it to find a logo's brand color or build a palette from a photo. Nothing is uploaded to an outside server.

or drop it here

or paste an image with Ctrl+V (⌘V on a Mac)

Files are processed on your device and never sent to an outside server.

How to use

  1. Click “Choose file”, drop an image onto the box or paste one. JPG, PNG, WebP, HEIC, AVIF, JPEG XL, GIF and BMP are supported.
  2. Click or tap the color you want. With a mouse the magnifier follows the pointer; on a phone, slide your finger to show it and lift your finger where you want the color.
  3. Press “Copy” next to the form you need: HEX, RGB, HSL, HSV or CMYK. Everything happens on your device.

Frequently asked questions

Why do the values differ slightly across an area that looks flat?

Compressed images such as JPG make neighboring pixels of one color vary a little. Set “Sample” to the 3×3 or 5×5 average to smooth that out, or zoom in and use the magnifier to aim at a single pixel.

Can I use the CMYK values for printing?

As a guide only. CMYK here is a plain conversion from the screen color (RGB) and does not use a printer’s profile for its paper and inks. To match printed colors, follow your printer’s specification or convert in your design software.

How are the image’s main colors chosen?

The image’s pixels are split into groups of similar colors (median cut), and up to 8 are listed, the largest first. The percentage is a rough share of the image; transparent areas are not counted. In photos with fine detail or gradients, similar colors may be merged.

Are my files uploaded to an outside server?

No. Everything runs in your browser, so your files never leave your device. The page only downloads the tool's own code when you add the first file.

Related tools