Find 3 to 12 main colors with their share of the picture, then copy them as HEX, CSS variables, or JSON, or save a swatch PNG.
You can also drop a file here.
Palette Extractor finds the main colors of a picture and shows each one with its share of the image, most used first.
Pick from 3 to 12 colors, then copy the palette as HEX codes, CSS variables, or JSON, or save it as a swatch PNG.
The image is opened and its colors are counted in this tab. Nothing is uploaded.
The pixels are split into groups at the middle of their widest color range until there is one group per color. Then each color moves to the average of the pixels closest to it a few times. The share is the part of the image closest to each color.
The method has no randomness, so the same image and color count always give the same palette.
All processing runs locally in your browser. This tool is provided as-is without warranty. Keep backups of your original files before processing.
By uploading media, you confirm you own the content or have permission to modify it. Please read the Terms and Conditions.