Color Palette from an Image
Pull the dominant colors out of a photo as hex codes. Analyzed locally, nothing is uploaded.
Processed entirely in your browser. Never uploaded to a server.
Or drop a photo here.
Drop a photo above and this tool pulls out its dominant colors as a small palette of hex codes — useful for matching a design to a photo, building a brand or website color scheme, or just knowing what's actually in an image without eyedropper-picking pixels one at a time. It's not a simple "most common pixel" count: a photo can contain millions of near-identical shades of the same color, so counting raw frequency would just return eight near-duplicate variations of whatever color takes up the most space in the frame. Instead the tool groups similar colors together first (the same clustering approach a GIF encoder uses to pick its 256-color palette), then reports each group's representative color — which is why the result reads as a handful of visually distinct swatches instead of a wash of near-identical grays or blues.
Each swatch shows its hex code and copies individually on click; the "copy all" button grabs the whole palette at once, ready to paste into CSS, a design tool, or a style guide. Works on any photo format your browser can decode — JPG, PNG, WebP, HEIC from an iPhone — and nothing you drop here is uploaded anywhere.
FAQ
Is my photo uploaded to extract the colors?
How are the colors chosen?
Why does a mostly-one-color photo still show several swatches?
What can I do with the hex codes?
Does it work on any image format?
Is there a limit on image size?
Want to know how the clustering actually works? Read how color palette extraction works. Converting between hex, RGB, and HSL for the colors you find? See hex vs RGB vs HSL.
Related tools: Remove Background, Crop Image, Resize Image.
Advertisement
Ads help keep Kit-Bin free.