Extract the colour palette from an image
Pull the dominant colours from a photo with their hex and RGB codes and the share each takes up. Useful for designers building a colour scheme from an image. Free, directly in your browser.
Choose your image
Drop here or click to choose
Files stay on your device โ nothing is uploaded
Extracts the dominant colours from an image using median-cut quantisation, with the share each colour takes up. Click a swatch to copy its hex code.
Your file is processed in your browser and never uploaded.
How does it work?
- 1
Choose your image
Drag a JPG, PNG or WebP here.
- 2
Choose the number of colours
From 2 to 16 dominant colours.
- 3
Copy or export
Click a swatch to copy its hex code, or export the whole palette including CSS.
Frequently asked questions
How are the colours chosen?
Through median-cut quantisation: the colours in the image are repeatedly split until the most representative groups remain, sorted by how often they occur.
Is my image uploaded?
No. Everything happens in your own browser. Your image never leaves your device and is not stored anywhere.
Is it free?
Yes, completely free and without watermark, ads or account.
Related tools