Expand Image Canvas
Grow the frame around a photo and choose where it sits.
Pull the dominant colours out of any photo.
Drop an image here, or click to choose one
JPEG, PNG, WebP, GIF or SVG · processed on your device, never uploaded
Extract Color Palette From Image pulls the dominant colours out of a photo using median-cut quantisation, which finds genuinely distinct colours rather than five shades of the same sky. Each swatch carries its share of the image, all four colour formats, and a contrast check, and the palette exports as CSS, Tailwind, JSON or a swatch image.
Building a palette from a photograph is how brand colours, presentation themes and interface schemes usually start, because a real image already contains colours that work together.
The extraction uses median-cut quantisation, which splits the colour cube where the image actually has variety rather than simply counting the most common pixels — that distinction matters, because counting gives you five shades of the same sky. Each colour comes with its share of the image, its HEX, RGB and HSL, and a contrast check against black and white. The palette exports as CSS custom properties, a Tailwind colour block, JSON, or a swatch image.
Splits the colour cube where the image has variety, so the palette is distinct colours rather than near-duplicates.
Each swatch shows whether black or white text passes WCAG AA on it, which decides what the colour can be used for.
How much of the frame each colour occupies, which tells you which is the primary and which the accent.
CSS custom properties, a Tailwind colour block, JSON, or a swatch image for a moodboard.
Five or six for a scheme, more when you want the full spread — the extraction re-runs instantly.
Images with clear, distinct colours give the most usable palettes.
Five or six is the usual number for a scheme; more starts to repeat.
Each swatch shows whether black or white text passes on it.
CSS variables, Tailwind config, JSON, or a swatch image.
By median-cut quantisation, which repeatedly splits the colour cube along its widest axis. That finds genuinely distinct colours rather than five near-identical shades of whatever dominates the frame.
Five or six for an interface scheme — a dark, a light, a primary and one or two accents. Beyond about eight the colours start repeating and the palette stops being useful.
Whether black or white text on that colour meets the WCAG AA contrast ratio of 4.5 to 1 for body text. A colour that fails both is decorative rather than a text background.
Colours themselves are not copyrightable, so a palette derived from an image is free to use. The image itself is a separate question.
What people who use the Extract Color Palette From Image think of it. Reviews come from visitors and are posted as written.
No ratings yet
Yours would be the first.
0 reviews
Newest first
No reviews yet
Be the first to rate the Extract Color Palette From Image. It takes half a minute and no account.
Write the first reviewGrow the frame around a photo and choose where it sits.
Trace a bitmap into scalable vector paths.
Set an image to 300 DPI, or any density a printer asks for.
Print a date onto a photo, read from its own EXIF.
Compress until the file fits a size you specify exactly.
Map an image onto two colours for a bold graphic look.
Add whitespace around an image without cropping anything.
Turn a photo into retro pixel art with a limited palette.