Image Color Picker

Open an image, click or tap a spot with the magnifier, and copy the color as HEX, RGB, or HSL.

Drag your image here, or click to browse

Fast, private, and 100% client-side color picking.

How to pick a color from an image

Use the image color picker to identify a color in a photo, logo, or screenshot. Hover to inspect the displayed pixels with the magnifier, then click to select a color. On a touch screen, touch and move across the image to sample another spot.

Three solid swatches: blue, mint, and amber from left to right
Download the practice image and pick the center of the blue swatch. Its codes are #336699, rgb(51, 102, 153), and hsl(210, 50%, 40%).

Pick and copy a color code

  1. Choose an image from your device or drag it onto the page.
  2. Move the magnifier over the area you want. For a flat logo color, aim inside the shape rather than along a softened edge.
  3. Click or tap the spot to show the selected swatch and its color codes.
  4. Use the copy button next to HEX, RGB, or HSL, then paste the value into your design tool or stylesheet.

What the picker samples

HEX and RGB describe the same red, green, and blue channels in different notation. HSL expresses the color as hue, saturation, and lightness. The picker reads the displayed image in your browser. A large image may be scaled to fit, so edges or fine details can have blended colors.

Open a smaller crop of the original if nearby colors are hard to separate. The file is read on your device without an image upload. If you need another format, paste the code into the Color Converter.

Frequently Asked Questions

Why does the color change near an edge?
Edges, gradients, compression, or scaling can blend neighboring colors. For a solid fill, sample several spots well inside the shape.
Can I pick a color from a website screenshot?
Yes. Save the screenshot as an image, open it here, and sample the area you want. The picker reads the screenshot, not the website’s CSS.
Does the picker return transparency?
No. The displayed HEX, RGB, and HSL codes describe color channels without an alpha value.
Is the image sent to a server?
No. The image file is read and sampled in your browser without being uploaded.