Image Color Picker

Upload an image, click anywhere to extract colors, export in HEX, RGB, and HSL formats.

Drag and drop an image here or click to upload

Supports JPG, PNG, WebP, GIF formats

Current Color

#E5E5E5

Click to copy HEX

RGB
rgb(229, 229, 229)
HSL
hsl(0, 0%, 90%)

Extracted Colors

Upload an image to extract colors

Frequently asked questions

How does the Image Color Picker work?

Upload any image in JPG, PNG, WebP, or GIF format. Our algorithm extracts the dominant colors automatically and displays them as color swatches. You can also click anywhere on the image to pick a specific pixel color and view it in HEX, RGB, and HSL formats.

How are the extracted colors determined?

The algorithm divides the color space into 32-step buckets, counts all non-transparent pixels, sorts by frequency, then selects up to 6 colors that are visually distinct from each other (minimum Euclidean distance of 80). This ensures a diverse, representative color palette from your image.

Does the image get uploaded to a server?

No. All image processing runs locally in your browser using the Canvas API. No data, images, or colors ever leave your device or are stored on any server — your privacy is fully protected.

What export formats are available?

You can copy picked colors in HEX (#RRGGBB), RGB (rgb(r, g, b)), and HSL (hsl(h, s%, l%)) formats. Each color swatch in the extracted colors panel can also be copied with a single click.

What is the magnifier for?

The magnifier provides a 10x zoomed-in view around your cursor position, with a center crosshair marking the exact pixel being sampled. This makes it easy to pick precise colors from detailed areas of your image.