HEX Color Extractor
Read a pixel as a six-digit hexadecimal color.
- Processed on your device
- Free, no sign-up
- Instant results
or drop files here · paste with Ctrl/⌘ + V
JPG, PNG, WebP, AVIF, HEIC, GIF, BMP, TIFF, SVG and ICO · up to 32 MB eachHow to use HEX Color Extractor
- Select the source image on your device.
- Choose the location you want to sample, then read the color values.
- Review the reported result alongside the source.
How it works
Sampling reads the decoded pixel at the chosen location. Antialiased edges, color conversion and compression can affect the result.
Example
Sample the center of a brand swatch and read its hexadecimal RGB value for a CSS color.
Common uses
- Check an image against a specification before uploading
- Extract colors for a design or brand guide
- Generate icons, PDFs or Base64 for development work
- Diagnose files with wrong extensions or unexpected sizes
Private by design
Your files are read and processed by your own browser using Web Workers and the Canvas API. They are not uploaded to a server, and nothing is stored after you close the page. See the privacy policy for details about the website itself.
Frequently asked questions
Why does an adjacent pixel give a different color?
Rounded edges and JPEG artifacts blend neighboring colors. Sample farther inside the region.
Does inspection change my file?
Analysis reads the selected source on your device and presents the result separately.
Related tools
Image Color Picker
Click any pixel to read its HEX, RGB and HSL color.
RGB Color Extractor
Inspect the red, green and blue channels of a pixel.
Color Palette Generator
Extract a palette of frequently occurring colors.
Dominant Color Extractor
Find the most common color group in an image.
Aspect Ratio Calculator
Reduce an image’s pixel dimensions to their simplest ratio.
Compress Image
Reduce file size while keeping your images looking sharp.
Convert Image
Switch between image formats in just a few clicks.
Resize Image
Change image dimensions with pixel-perfect control.