Image Colour Picker – Get HEX, RGB and HSL From Any Image

Open or paste an image, point at any pixel to see its colour, and click to save it. Get a ready-made palette too.

Tip: press Ctrl+V to paste a screenshot.

Picked colours

Click or tap the image to save a colour here (its HEX code is copied too). Click a code to copy it.

    How to pick a colour from an image

    1. Open an image. Drop it on the box, press Choose image, or paste a screenshot with Ctrl+V. iPhone HEIC photos work too.
    2. Point at the colour you want. The magnifier shows the 11 × 11 pixels around the pointer, with the selected pixel outlined in the middle, and the colour codes update as you move. On a phone, drag your finger across the image; the magnifier stays above the image so your finger does not hide it.
    3. Click or tap to save it. The colour is added to Picked colours with its HEX, RGB and HSL codes, and its HEX code is copied to the clipboard. On a phone, a quick tap saves; after dragging, press Save this colour. Click any code to copy it.

    You can also use the keyboard: focus the image with Tab, move one pixel at a time with the arrow keys (hold Shift to move ten), and press Enter to save. In Chrome and Edge on a computer, Pick from screen lets you pick a colour from anywhere on your screen, even outside the browser.

    Colours are read from the full-resolution image, not the smaller preview, so you get the exact pixel value even in a large photo.

    Which colour code should I use?

    • HEX (#1f7a8c) is the shortest and works in CSS, Figma, Canva, Photoshop and most design tools.
    • RGB gives the red, green and blue amounts from 0 to 255. Use it when an app asks for three separate numbers.
    • HSL describes hue (0–360°), saturation and lightness. It is handy for making a lighter or darker shade: keep the hue and change the last number.

    Using the palette

    The palette sums up the image in 5 to 8 colours, starting with the most common. Each colour is an average of a group of similar pixels, so it may not match any single pixel exactly. If you need an exact brand colour, pick it by hand from a flat area instead. Copy as CSS variables gives you a :root block ready for a stylesheet, and Copy as JSON gives a plain list of HEX codes.

    Common problems

    • The colour changes from pixel to pixel: photos and JPG images are full of tiny variations. Look at the magnifier and pick from the middle of an even patch.
    • Pasting does nothing: make sure you copied the image itself, not a file name or link. On phones, use Paste image if it is shown, or save the image and choose it as a file.
    • "Pick from screen" is missing: your browser does not support it. Use a screenshot instead.
    • A transparent area shows no colour: fully transparent pixels have no visible colour, so they cannot be saved.

    Frequently asked questions

    Is my image uploaded anywhere?
    No. The image is opened and read by your browser on your own device. Nothing is sent to a server, so you can safely use screenshots of private documents or unreleased designs.
    Why is the colour slightly different from the original design?
    Three common reasons: JPG compression shifts colours a little, especially near edges; anti-aliasing blends text and lines with their background; and photos in wide-gamut colour (such as Display P3 from recent phones) are converted to standard sRGB for display. Use the magnifier to pick from the middle of a flat area, and use a PNG of the original if you can.
    Which browsers support "Pick from screen"?
    It uses the EyeDropper API, which at the time of writing works in Chrome, Edge and other Chromium-based browsers on desktop. In browsers without it, the button is hidden. You can still take a screenshot and paste it here.
    How is the palette chosen?
    The tool shrinks a copy of the image to about 10,000 pixels and runs the median cut algorithm: it keeps splitting the group of colours with the widest spread until it has the number you chose, then averages each group. Colours are listed from most to least common. Transparent pixels are ignored.
    Are my picked colours saved?
    Yes, the last 20 picked colours are kept in your browser's local storage on this device, so they are still there when you come back. Use Clear to remove them. The image itself is not saved.
    How do I paste a screenshot?
    Copy the screenshot to the clipboard and press Ctrl+V (⌘+V on a Mac) anywhere on this page. On Windows, Win+Shift+S copies a screen area straight to the clipboard. Where supported, the Paste image button does the same thing on phones and tablets.