ALL IMAGE TOOLS56
Image Color Palette
Extract Color Palette from Image — Free & Instant
Upload an image and get its dominant colors with hex codes.
About Image Color Palette
Want to know the dominant colors in an image? This tool analyzes your image using median-cut color quantization and extracts the most prominent colors, presenting them as a visual palette. Each color is shown as a swatch with its hex code and its share of the image, alongside a combined bar that weights every color by how much of the picture it covers. This is an invaluable resource for designers who want to build a cohesive color scheme from a photograph, brand reference image, or inspiration photo. Use the extracted palette to guide website designs, create matching social media graphics, choose paint colors inspired by a photo, or ensure brand consistency across materials. Click any color swatch to instantly copy its hex code to your clipboard, or copy the whole palette at once, ready to paste into your design tool or CSS. The tool works with JPG, PNG, WebP, AVIF, BMP, and GIF images.
Questions
How does color extraction work?
The tool samples your image, then uses median-cut color quantization to group similar pixels together and find the most dominant colors. Each color's frequency indicates what percentage of the image it represents.
How many colors can I extract?
You can choose to extract 4, 6, 8, 10, or 12 colors. Fewer colors gives you the most dominant themes; more colors captures subtle variations.
Can I copy the color codes?
Yes! Click any color swatch to copy its hex code to your clipboard. Each color also shows its RGB values and frequency percentage.
Why did I get fewer colors than I asked for?
The quantizer only splits color groups that actually span more than one color, so a flat-color graphic — say a three-color logo — returns three swatches even if you asked for 12. Padding the palette out further would only produce duplicate swatches.
Why doesn't a hex code match the exact pixel I'm looking at?
Each swatch is the average of a whole group of similar pixels, not any single pixel, and the image is sampled at reduced resolution (up to 200 px on the longest side) before analysis. The palette describes the image's overall color character rather than one precise point.
Is my file uploaded to a server?
No. Transmute processes everything locally in your browser using JavaScript and WebAssembly. Your files never leave your device — there is no server, no upload, no cloud processing.