Online color picker: find the color of any image

Upload a photo, screenshot or logo and click the spot you want to get its HEX, RGB and HSL code instantly. The image is processed only in your browser.

Click the image to pick a color. Hover to see the magnifier.

Selected color

  • HEX—
  • RGB—
  • HSL—
  • HSV—
  • CMYK—

History

    Lighter tints

      Darker shades

        Who this color picker is for

        This color picker is built for anyone who needs the exact code of a color that already exists in an image. You point at the pixel and get a value you can paste straight into your work. It is especially handy for:

        How to use the eyedropper, step by step

        1. Load your image. Click the upload area and choose a file, drag and drop the image onto it, or paste from your clipboard with Ctrl+V (Cmd+V on a Mac). Pasting is the fastest route for screenshots: capture your screen and paste it right into the page.
        2. Hover over the image. A magnifier loupe follows your cursor and shows the enlarged pixels around it, so you can see exactly what you are about to click.
        3. Click the pixel. The color is picked and its codes appear instantly in five formats: HEX, RGB, HSL, HSV and CMYK, each with its own copy button.
        4. Check the color name. The tool shows the closest named color, with a link to its page for more details and pairings.
        5. Need a color outside the image? Use the “Pick from screen” button. It relies on the EyeDropper API, available in Chrome and Edge, and lets you sample any point visible on your screen, including other windows.

        If you want the dominant colors of a whole photo rather than a single spot, the palette extractor does that automatically. Our guide on how to find the color of an image compares both approaches.

        Tips for picking the exact color

        The color you perceive in an area is not always the same in every pixel of it. A few habits prevent surprises.

        Use zoom and the loupe

        Zoom goes from 1x to 8x. On thin text, icons and outlines, zoom in before clicking: at 4x or more, each pixel is big enough for you to choose one in the middle of the stroke instead of one on its edge.

        Watch out for anti-aliasing and JPEG compression

        Edges of letters and shapes are smoothed with anti-aliasing, so the outline pixels blend the element's color with the background. That is why clicking the edge of a logo usually returns an in-between shade. Aim for the center of solid areas.

        JPEG files add another problem: compression introduces small variations and noise in 8×8 pixel blocks, so an area that should be flat can contain slightly different pixels. Use a PNG or the original file whenever you can.

        Sample a few points

        Photos, gradients and textured surfaces have no single “true” color. Click three or four spots in the same region and compare the results in your history. If the values are close, keep the one that best represents the area; if they vary a lot, you are looking at a gradient, and the palette extractor may be a better fit.

        What to do with the color once you have it

        Getting the code is only the first step. The tool also helps you turn one color into a usable set.

        Tints and shades

        You get 10 tints (the color mixed with white) and 10 shades (the color mixed with black). They work well for button states such as hover, active and disabled, subtle backgrounds and borders, all within the same color family.

        Color harmonies

        From the picked color, the tool calculates six harmonies on the color wheel: complementary, analogous, triadic, tetradic, split-complementary and monochromatic. If you are not sure which to use, the color harmony guide explains where each one shines.

        Contrast and accessibility

        Before using the color for text or a button, make sure it has enough contrast against its background with the contrast checker. A brand color can look great in a banner and be unreadable in body copy.

        History and export

        Your last 14 picked colors are saved in your browser's history, so you can close the tab and pick up where you left off. When you are done, export the palette as JSON for code or a design system, or as PNG to share with your team or a client.

        HEX, RGB, HSL, HSV and CMYK at a glance

        Every format describes the same color in a different way. Take #FF5733 as an example:

        For a deeper look at each format, read the color codes guide. If you need LAB, OKLCH or a ready-made CSS variable, paste the code into the color converter.

        Privacy: your image never leaves your device

        All processing happens in your browser. The image is drawn onto a local canvas element and its pixels are read right there, with no upload to any server. That means you can use the picker on confidential material, such as unreleased layouts or screenshots of internal systems, without it ever being transmitted. Your color history is also kept only in your browser's local storage, and you can clear it at any time.

        Frequently asked questions

        How do I find the color code of a pixel in an image?

        Upload the image on this page (or drag the file in), click the pixel you want and copy the HEX, RGB or HSL code shown next to it. Use zoom to hit small areas precisely.

        Is my image uploaded to a server?

        No. Pixels are read with the browser’s Canvas API on your own device. No file ever leaves your computer or phone.

        Can I pick a color from outside the image, straight from my screen?

        Yes, in Chromium-based browsers (Chrome, Edge, Opera). Use the “Pick from screen” button, which opens the browser’s native eyedropper.

        What is the difference between HEX, RGB and HSL?

        They are different ways of writing the same color. HEX is the hexadecimal notation used in CSS (#FF5733); RGB gives the red, green and blue intensity from 0 to 255; HSL describes hue, saturation and lightness, which makes variations easier.

        Does it work on mobile?

        Yes. Tap the upload area to choose a photo from your gallery or camera, then tap the image to pick the color.