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, without watermark or account. The site is paid for by ads.
advertentie
Why in the browser?
PixRust runs entirely in your browser using the Canvas API and WebAssembly. Your image is never sent to a server — all processing happens locally on your device. This means your photos remain private by design, whether they are personal snapshots or confidential documents. There is no account required, no file size limit, and nothing is stored after you close the tab.
Related tools