Palette from Image
Extract a dominant-color palette from any image using median-cut quantization — runs locally.
How to Use
- Drop or pick an image.
- Choose how many colors to extract.
- Click any swatch to copy.
Image
🎨
Drop image
Result
How it works
Sample
Downscale to 128 px
Bucket
Median-cut by longest axis
Average
Mean color per bucket
Sort
By frequency
Frequently Asked Questions
Does the image upload?
No — everything runs in your browser via canvas.
Why median cut?
It partitions the color cube by splitting the longest axis — fast and reliably covers the image gamut.
Common Use Cases
Moodboards
Pull a palette from a reference photo.
Last updated: