Colour palette from an image
Turn a photo, artwork or screenshot into a palette. The dominant colours are found automatically, and you can drag markers or click the image to fine-tune them.
Drag a marker to fine-tune a colour, or click anywhere on the image to add one (up to 10).
Add at least two colours to save or export.
How the colours are chosen
Large images are first scaled down to a small working copy (about 320 pixels across) so analysis takes a fraction of a second, even for 50-megapixel photos. The pixels are then grouped with k-means clustering in the OKLab colour space, where distances match how different colours look, rather than in RGB, where they do not.
Groups that are visually almost identical are merged, and the final colours are picked to balance how much of the image each one covers with how distinct it is from the others. That lets a small but striking accent, such as a red door in a grey street, make it into the palette instead of three near-identical greys.
Tips
- Crop to the part of the image you care about before uploading for a more focused palette.
- Increase the colour count to catch smaller accents, then remove the ones you do not need.
- Transparent areas of PNG and WebP images are ignored.