Upload an image and get its dominant colors as a copyable palette — a quantized pass over the pixels, all computed locally.
or drop an image here
No palette yet — choose an image above.
Images are decoded and analyzed locally in this browser tab. Nothing is uploaded to a server.
GUIDE
How to extract a palette
How the quantization works
The image is downscaled to a thumbnail, every pixel is bucketed into a 4-bit-per-channel grid, and buckets are ranked by pixel count. Similar buckets are merged so you get N distinct colors rather than N shades of the same one.
Order means dominance
The first swatch covers the most pixels — usually the background — and the last is the rarest accent. When building a UI theme from a photo, roles typically map in that order: background, surface, then accents.
Check contrast before committing
Extracted colors come from arbitrary photography and may sit too close together in brightness. Run them through a contrast check when pairing as text and background.
HELP / FAQ
Image color extractor questions
Why does my palette miss a color I can see?
Dominant-color extraction weights by area. A vivid but small detail can lose to a large muted region. Extract more colors, or use the color picker tool to sample that detail directly.
Is any image data uploaded?
No. The image is decoded by your browser and analyzed on a canvas in this tab; nothing leaves your machine, and it works offline.
What formats can I load?
Anything your browser can decode: PNG, JPEG, WebP, GIF first frame, AVIF, and HEIC where the browser supports it.
Are the hex values exact?
They are the average of each quantized bucket, so they are faithful to the image but rounded to the grid. For one exact pixel, use the color picker tool.
EXPLORE BY CATEGORY · BFOTKIT
More tools like this
Pick a category to see every tool in it — then open one and discover related tools.