WorkspaceHEX Color Extractor

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 each

How to use HEX Color Extractor

  1. Select the source image on your device.
  2. Choose the location you want to sample, then read the color values.
  3. 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.

All utilities tools

Learn more

Resource center