Add an image
Choose a JPEG, PNG, or WebP file up to 100 MB.
Image Tools
Pull a copyable color palette out of an image using median-cut quantization.
Pull a representative color palette out of a photo or design, with copyable HEX values, entirely in your browser. Want to convert a color you found into another format? Try the Color Converter.
Drag files here
or tap below to choose files from your device
Supports JPEG, PNG, and WebPMaximum 100.0 MB.
How it works
Choose a JPEG, PNG, or WebP file up to 100 MB.
Pick between 2 and 12 colors; the palette updates immediately.
Copy the HEX values, or as ready-to-use CSS custom properties.
Use cases
Turn a photo, logo, or piece of art into a usable set of colors for a design.
Extract the dominant colors from an existing logo or image to reuse consistently.
See at a glance which colors actually dominate an image.
FAQ
No. The palette is calculated entirely in your browser.
With median-cut quantization: the image's colors are repeatedly split into groups along their widest color range, then each group is averaged into one palette color. It's a standard, deterministic method — running it twice on the same image and settings always gives the same result.
No. The image is downscaled before analysis for speed, and each palette color is an average of a group of similar pixels, not necessarily a color that appears verbatim. Treat it as a representative palette, not an exact pixel-level readout.
Transparent and mostly-transparent pixels are excluded from the palette entirely, and the tool tells you what share of the image that was.
You'll get exactly as many colors as the image actually has — never padded with invented ones to meet the number you chose.
Related Tools