Image Color Extractor
Upload any image and extract its dominant color palette. Get HEX, RGB, and HSL values for up to 12 colors. 100% in-browser, no upload.
Drop an image here, or click to browse
JPEG, PNG, WebP, GIF, SVG supported
When to use Color Extractor
Find approximate representative colors in a selected image.
How to use Color Extractor
Choose a palette size, load an image, then inspect the swatches and select HEX, RGB or HSL output. Reload the image after changing palette size to ensure extraction uses the new setting.
Worked example
A fully opaque pixel with RGB (128, 0, 0) produces #800000 with 100% in a one-color sample.How the tool handles input
Images are reduced to at most 200 pixels on the longest side. Sampling skips pixels below half opacity, quantizes channels in steps of 16, and filters nearby candidate colors.
Limitations
Percentages describe selected sampled buckets and need not sum to 100. Quantization can round a channel of 255 up to 256, producing malformed HEX at bright extremes. This is not an exact pixel-color inventory or a color-managed palette analysis.
Frequently asked questions
Are transparent pixels counted?
Pixels with alpha below 128 are skipped. Remaining pixels are treated by their RGB values without compositing against a chosen background.
What are the main limitations?
Percentages describe selected sampled buckets and need not sum to 100. Quantization can round a channel of 255 up to 256, producing malformed HEX at bright extremes. This is not an exact pixel-color inventory or a color-managed palette analysis.