How to use the Color Palette Extractor
- 1
Upload or drop any picture (JPG, PNG, WebP).
- 2
Choose the number of colors to extract (4 to 16).
- 3
Inspect the extracted swatches, copy color codes, or export CSS variables.
Features
- Canvas Quantization
- Downsamples image canvas pixels and clusters color buckets without external libraries.
- Multiple Color Formats
- Instant one-click copy for HEX, RGB, HSL, and CSS root variables.
- Zero Uploads
- All color extraction is processed locally on your device in real-time.
Frequently asked questions
Can I export colors to CSS?
Yes. Click 'Export CSS' to copy ready-to-paste CSS custom properties.
Are my images sent to any server?
No. The entire color analysis runs in your local browser canvas.