Image Color Palette Extractor
Extract dominant colors from an image: hex and rgb, copy one or the whole palette
Image Color Palette Extractor Online — Hex & RGB
Extract the dominant color palette from any photo or image right in your browser. Upload an image and get the main colors with their hex and rgb codes, ready to copy for design, web development, or branding work. Everything runs on your device — no file is uploaded to any server.
100% local processing in your browser. No files are sent to external servers.
Drag an image here or click to select
JPEG, PNG, WebP — processed locally in your browser
How It Works
- Upload an image by dragging or selecting it
- Choose how many colors to extract with the slider (2 to 12)
- Click a color to copy its hex code
- Use 'Copy whole palette' to copy every color at once
Frequently Asked Questions
How are the colors chosen?
We use the median-cut algorithm, a classic quantization technique that groups similar pixels and computes a representative color for each group — the same family of approach used to reduce colors in GIFs.
Are my files uploaded to a server?
No. The image is processed entirely in your browser via Canvas. No data leaves your device.
Which formats are supported?
Any image format the browser can decode: JPEG, PNG, WebP, GIF and more.
Can I use the colors for the web?
Yes. Each color shows both the hex code (e.g. #1A2B3C) and rgb values, usable directly in CSS and design tools.