Open Image Color Picker, select a JPG, PNG or WebP file and click the desired pixel. Copy its HEX or RGBA reading; sample several nearby pixels before deciding on a design color. Try Image Color Picker.
What exactly are you sampling?
The tool samples a pixel from the decoded source image corresponding to the point you click in the fitted preview. A HEX code such as #5C55F5 represents one RGB value at that pixel, not an average of the whole logo or photograph.
Screenshot compression, edge anti-aliasing and shadows produce nearby shades. If you click the edge of text, you may sample a blend of the foreground and background rather than the solid original color. Move toward a flat interior area for a more reliable sample.
From image pixel to CSS token
Choose an image and click a region with a uniform fill. Copy the HEX reading and compare several adjacent pixels. For a logo, avoid reflections, gradients, soft edges and heavily compressed screenshots.
Paste the selected code into a CSS custom property, such as --brand-accent: #5C55F5. Check it against both light and dark backgrounds. A color can match visually while still failing text contrast requirements.
Alpha and other interpretation traps
A transparent PNG pixel can include RGB values that are invisible when composited. The picker reports alpha where applicable; if the pixel is partially transparent, the displayed color on a white website can differ from the raw pixel color.
Screenshots may also be affected by display color management, image profiles and browser rendering. Sampling is useful for quick front-end work, but it is not a substitute for a color-managed reference when matching print or product identity.
- Check contrast rather than assuming a sampled hue is accessible.
- Use a palette extractor for a few representative dominant colors.
When to use a palette instead
If the image contains a forest, sky and multiple lighting conditions, picking one pixel will not describe the image's visual identity. The Color Palette Extractor estimates a small set of dominant colors from sampled pixels.
Use the picker when exact local pixel inspection matters. Use the palette extractor when you need a starting color scheme. Neither can recover the original designer's brand specification from a modified screenshot.
Common questions
Does the picker sample the downsized preview?
It maps the click to the corresponding decoded source pixel.
Can I extract a whole color scheme?
Use Color Palette Extractor for multiple representative colors.