Image Color Picker

Sample a pixel from an image by tapping or entering its position.

Source files

Processed on your device

    How to use Image Color Picker

    Read the exact decoded color of a pixel in a photo, screenshot or swatch. Select a point on the image or enter its coordinates when you know where it sits.

    1. Add the image and open Preview image.
    2. Choose a point or enter X from left and Y from top, both starting at zero.
    3. Read the result and copy the HEX or RGB value for use in CSS or a design tool.
    4. Select Read color and review the result.

    Example use

    Sample the background color from a flat logo. Click inside a uniform area, away from an antialiased boundary. Sample a second point if the image was re-encoded or exported with subtle color variation.

    Output and compatibility

    The output includes HEX, RGB and alpha. It samples one image pixel, so nearby colors can vary in a photograph or JPEG. Color values reflect the browser’s decoded working pixels, which may differ from values in a specialized color-managed source workflow.

    Distinguish a rendered pixel from an original design token

    An exact pixel sampled at an edge can represent a shadow, antialiasing or a translucent foreground. Sample several interior locations on a solid swatch and compare the original design file if you need an official brand number. For contrast, sample the actual foreground and background where they meet.

    Troubleshooting

    If repeated clicks seem inconsistent, choose a flat region or type precise in-bounds coordinates. For partially transparent pixels, compare alpha and test the color on the real background.

    Use Color Code Converter for another representation and Contrast Checker to evaluate a text and background pair.

    Frequently asked questions

    How do I get the HEX color from an image?

    Click a point in the preview or enter its X and Y coordinates; the HEX value appears in the result.

    Which corner is 0,0?

    The top-left source pixel.

    Does it average a region?

    It samples one pixel. Try Image Palette for a group of common colors.

    Can I see if the sampled pixel is transparent?

    The output shows alpha separately.

    Why are edge pixels a different color?

    Antialiasing, transparency and JPEG artifacts change the pixels nearest edges.

    Find a tool