Colour picker
Choose an image to get its main colours with how much of it each covers. Click the image to pick any pixel, click a colour to copy its HEX code, and take the colours into the pattern generator.
Nothing is uploaded: your file is read by this browser only and never leaves your device.
Questions
How is the palette made?+
The image's pixels are grouped by similar colour (k-means in CIELAB, started the same way every time), near-identical groups are merged and tiny specks dropped. The same image always gives the same palette.
Why are there fewer colours than I asked for?+
Colours that are almost the same are merged, and colours covering less than half a percent of the image are left out, so a simple image can give fewer.
What happens when I use the colours in the generator?+
The free pattern generator opens with up to six of these colours: the most used one as the background, then the colours you picked by hand, then the rest.
Is my image uploaded?+
No. The colours are worked out in your browser; the image never leaves your device.