Color picker from image (eyedropper)

Open an image via the file picker, drag and drop or Ctrl + V, then click or tap the spot you want. The eyedropper shows the pixel’s color as HEX, RGB and HSL and finds the image’s main colors. Your image is never uploaded.

Drag and drop files here or

JPG, PNG, WebP, GIF, BMP, AVIF or HEIC – up to 50 MB

Tip: you can also paste images with Ctrl + V.

Your files are processed only in your browser and never uploaded – they don’t leave your device.

Color

No image loaded yet.

Result

How it is calculated

Your image stays on your device

The eyedropper runs entirely in your browser: the image is decoded locally and drawn onto a canvas, and the color value is read straight from memory with getImageData(). There is no upload and no network request containing image data; once you close the page, the image is gone. Only for HEIC photos that your browser cannot open itself is a decoder loaded once from this website – your photo still stays local.

How to pick a color

  1. Choose an image, drag it into the box or paste it with Ctrl + V (a screenshot, for example).
  2. Click or tap the spot you want. With a keyboard, the arrow keys move the eyedropper pixel by pixel.
  3. Copy the HEX, RGB or HSL value. Your last eight picks stay on screen as swatches.

How the main colors are found

For the main colors, the image is scaled down to at most 200 pixels on its longest side. Every opaque pixel falls into one of 4,096 color bins (16 levels per channel). The most frequent bins that differ clearly from each other become up to six main colors; the percentage is their share of all opaque pixels. This is a simple quantization – good for an overview, but not a color measurement.

Why the value may differ from the original

Frequently asked questions

Is my image uploaded or stored?

No. The image is processed only in your browser’s memory and is not sent anywhere. Nothing is saved to browser storage (localStorage) either.

How do I get the color code from a screenshot?

Take a screenshot (e.g. on Windows: Win + Shift + S; on a Mac: Cmd + Ctrl + Shift + 4 copies it to the clipboard), then click this page and press Ctrl + V (Cmd + V on a Mac). Click the spot you want and the HEX code appears right away.

Which image formats work?

JPG, PNG, WebP, GIF, BMP and AVIF, as long as your browser can open them, plus HEIC photos from an iPhone. For transparent images the eyedropper also shows the pixel’s opacity.

What can I do with the color next?

Copy the HEX value and convert it to other formats in the color converter, build matching colors in the color palette generator, or use the contrast checker to see whether text in that color is easy to read.

Sources and legal basis

As of:

Related tools