Upload any image and instantly extract its dominant colors. 100% client-side - your images never leave your browser.
This tool uses a technique called median cut color quantization to identify the most important colors in your image. When you upload a photo, the image is drawn to a hidden canvas element and its pixel data is read directly in your browser. No server is involved - everything runs locally using the HTML5 Canvas API.
The algorithm works by placing all sampled pixels into a single group, then repeatedly splitting the group with the greatest color range along its widest channel (red, green, or blue). Each split divides pixels at the median value, creating two new groups. This process continues until we reach 8 color groups. The average color of each group becomes one swatch in your palette, and the group size determines dominance percentage.
For performance, large images are scaled down to 200x200 pixels before sampling. This keeps extraction fast (typically under 200ms) without meaningfully affecting color accuracy, since dominant colors are preserved at any resolution.
Extracting colors from images is one of the most effective ways to build a brand palette that feels cohesive and intentional. Designers commonly start with mood boards - collections of photos, textures, and artwork that capture the feeling they want their brand to convey. By extracting colors from these reference images, you get palettes grounded in real-world visual harmony rather than abstract color theory alone.
Nature photography is an especially rich source for brand palettes. Sunsets, forests, oceans, and seasonal landscapes produce color combinations that humans instinctively find pleasing. Product photography and interior design images also work well, since they have already been curated for visual appeal.
Once you have extracted a palette, consider which colors should serve as your primary, secondary, and accent. The most dominant color from an image is not always the best choice for a primary brand color - sometimes the accent colors with smaller percentages are more distinctive and memorable. Use the "Use in Brand Kit" button to save your selection and continue building your brand identity.