Image Palette Extractor
Extract the dominant colours from any image using k-means clustering. Click any swatch to copy the hex.
Upscale to 4K, remove backgrounds, edit with a prompt or generate from scratch, with every leading model in one workspace.
Try 7 days for $2.50 · or 25% off your first month · Cancel anytime
Need more than a converter? AI background removal, upscale, edit and generate — one workspace.
How to use the Image Palette Extractor
- 1Drop your imagePNG, JPG, WebP — anything.
- 2Choose palette sizeFrom 2 to 16 colours.
- 3Click to copyTap any swatch to copy the hex code.
About this tool
All processing happens in your browser via the Canvas API. No server roundtrip, no upload.
Uses k-means clustering on a downsampled grid of pixels — fast and good enough for design work.
Frequently asked questions
Is it free?
Are files uploaded?
How accurate?
Commercial use?
Mobile-friendly?
Need more than free tools? Get Postcrest's full AI image suite.
AI background removal, AI upscaling, AI image editor and AI photoshoot — every leading model in one workspace.