Color Picker from Image

Pick colors from any pixel in an image.

FreeNo accountOn your device

Runs in your browser. How to verify

Loading tool…

About this tool

Open a photo or screenshot and click the exact spot whose colour you need. A magnifier follows the pointer so you can aim at single pixels, and every click adds a row with HEX, RGB and HSL values you can copy.

How to use

1
Step 1
Choose or drop an image (PNG, JPG, WebP, GIF or HEIC).
2
Step 2
Move over the image: the magnifier and live swatch show the pixel under the pointer.
3
Step 3
Click to add that colour to the list.
4
Step 4
Press any value to copy it, or Copy all HEX for the whole list.

How it works

Large images are shrunk only for display. The colour is always read from the full-resolution original at the matching position, so a click on a scaled-down 6000 px photo still returns the real pixel, not an average of its neighbours. The magnifier shows an 11 by 11 pixel patch of the original with smoothing turned off, so each square is one real pixel.

Worked example

An orange pixel

Input
Click a pixel whose red, green and blue channels are 255, 128 and 0
Output
#FF8000 rgb(255, 128, 0) hsl(30, 100%, 50%)
Walkthrough
Hue is 30 degrees because green is half of red with no blue; saturation is 100% and lightness 50% because one channel is full and one is zero.

Limitations

  • Images above about 120 megapixels are refused; shrink them first.
  • Transparent pixels report their colour channels, and the page notes when a pixel is fully transparent.
  • Colour values are as stored in the file; display colour profiles are not applied.
  • The list keeps the 40 most recent picks.

Questions

Does it pick the exact pixel on a large photo?
Yes. Display is scaled to fit the page, but the click is mapped back to the original image and that pixel is read.
Is my image uploaded?
No. It is drawn to a canvas in your browser and never sent anywhere.
What formats can I copy?
HEX such as #FF8000, RGB such as rgb(255, 128, 0), and HSL such as hsl(30, 100%, 50%). Press a value to copy it.
How is this different from the palette generator?
The palette generator finds the main colours of a whole image for you. This page gives you the colour of the exact spot you choose.
Can I pick from a screenshot of a design?
Yes, any image works. Save the screenshot as PNG for exact colours; JPG compression can shift edge pixels.

Features

  • Click-to-pick exact pixel
  • Magnifier and live colour
  • HEX, RGB and HSL
  • Copy buttons and list
  • Handles large images
  • Runs in your browser

Related resources

Guides and videos from around the web—opens on YouTube or the publisher’s site.

  • Reduce image size with srcset

    Chrome for Developers

    Serving the right resolution—the goal of resize/compress tools.

    Watch on YouTube
  • How are Images Compressed? JPEG In Depth

    Branch Education

    JPEG mechanics behind smaller web and social exports.

    Watch on YouTube