Colour Palette
Pull the dominant colours out of any photo as HEX or RGB — click to copy, grab the whole set as CSS, or eyedrop any pixel. Free and 100% private.
Drop a photo
or click to browse — JPG, PNG or WEBP
Extract a palette in three steps
Any JPG, PNG or WEBP — it's read straight in your browser.
The dominant swatches appear instantly. Hover the photo to eyedrop any exact pixel.
Click a swatch for its HEX/RGB, or grab the whole palette as CSS variables.
Reading colour out of an image
How a palette gets extracted
Pulling colours from a photograph is a clustering problem. A photo contains tens of thousands of distinct colour values, and extraction groups them into a handful of representative clusters — usually with an algorithm like k-means — then returns each cluster's centre.
That is why an extracted palette is not simply the most common pixels. A large area of near-identical sky would dominate a naive count; clustering instead returns colours that represent the range of the image, which is what makes the result useful.
Dominant is not the same as useful
The most-present colour in an image is frequently the least interesting one — the wall, the sky, the tablecloth. A palette built only from area gives you five shades of beige.
In practice, a usable palette needs contrast and range: a dark, a light, a saturated accent and one or two mid-tones. When picking from an extracted set, choose for that spread rather than taking the top five by frequency.
Hex, RGB and HSL
The same colour has several notations, and which one you want depends on the job:
- Hex (#4F46E5) — the web default, and what most design tools expect.
- RGB (79, 70, 229) — identical information, easier to manipulate in code.
- HSL (243°, 75%, 59%) — hue, saturation and lightness separately, which is what you want when building tints and shades of one colour.
Check contrast before you commit
A palette pulled from a photograph is chosen for how the colours look together, not for whether text is readable on them, and those are different questions.
If any of these colours will carry text, check the contrast ratio: 4.5:1 against its background for body text, 3:1 for large text, to meet WCAG AA. Mid-tone colours are the usual failure — they look pleasant and fail against both white and black.
Preguntas frecuentes
Is this colour palette tool free?
Is my photo uploaded?
How are the colours chosen?
Can I copy an exact pixel colour?
Más herramientas gratis y privadas
Exporta aquí y sigue editando allí — tu imagen te acompaña, sin volver a subirla.