Real dominant colours, not corner samples
The whole image is downsampled and every opaque pixel is bucketed by colour, so the palette reflects what actually dominates the picture rather than one arbitrary pixel.
Pull the dominant colours out of any photo as copy-ready hex codes.
Loading tool…
The tool is loading its code on your device. This happens once and is cached for later visits.
Processed entirely on your device
Overview
Extract the dominant colour palette from any image free online — get hex, RGB and each colour's share, sampled entirely in your browser. No upload, no sign-up.
A photograph already contains a working colour scheme: the sky, the subject, the background and the light all agree because they were in the same scene. Pulling those colours out gives you a palette that is harmonious by construction, which is faster and more reliable than picking swatches by eye.
The image is drawn onto a small canvas so a few thousand pixels represent the whole frame. Every opaque pixel is placed into a bucket keyed by its red, green and blue values rounded to five bits each. The buckets are counted, the largest are kept, and each is averaged back to a single representative colour. That averaging is what turns a noisy photograph into a handful of clean swatches.
Each colour reports the fraction of sampled pixels it covers. A colour at 40% is a dominant background or subject; one at 3% is an accent. Designers use this to decide which colour should carry large areas and which should only appear in small doses, so the ratio is as useful as the hex code itself.
Sampling happens on a local canvas in your browser. There is no upload, no queue and no stored copy, which matters when the source is an unreleased brand asset, a client mock-up or a personal photograph. Close the tab and nothing remains.
Step by step
Drop a photo, logo or screenshot onto the upload area.
Move the slider to choose how many colours to extract, from three to eight.
Read each swatch with its hex code, RGB values and share of the image.
Click any swatch to copy its hex straight to your clipboard.
Why use it
What this tool is good for, and what it deliberately does not try to do.
The whole image is downsampled and every opaque pixel is bucketed by colour, so the palette reflects what actually dominates the picture rather than one arbitrary pixel.
Each swatch gives the hex code and the RGB triple with its percentage share, so you can lift a scheme into CSS, Figma or a design token file without a colour picker.
Sampling runs on a local canvas in milliseconds. Brand assets and unreleased artwork never leave your device.
Questions
Short, honest answers about quality, limits and privacy.