Image Color Palette Extractor
Upload a photo, logo or design to get its main colors as HEX codes, ready to use in your website, brand or artwork.
Drop an image here or paste one
JPG, PNG, WebP or GIF. Your image never leaves your device.Add an image to start.
How to use the Color Palette Extractor
- Add an imageChoose a photo, logo, screenshot or artwork, or try the sample.
- Pick how many colorsChoose 3 to 12 colors and how to sort them: by how much of the image they cover, light to dark, or by hue.
- Copy the colorsClick any swatch to copy its HEX code, or copy all colors as CSS variables for your website.
Example
The sample sunset picture gives a palette led by its sky blue, sand and dark teal mountains, with the percentage of the picture each one covers.
A logo with a white background shows white as the most common color; switch to “Hue” order to see the brand colors side by side.
Frequently asked questions
How are the colors chosen?
The image is shrunk to about 120 pixels across and its pixels are grouped with the k-means method, which finds the colors that best represent the whole picture. Transparent pixels are ignored.
Why do I not see a small but bright color?
Small details cover few pixels, so they can merge into a nearby color. Increase the number of colors to 10 or 12 to pick out smaller accents.
Is my image uploaded?
No. The colors are calculated in your browser.