Drop an image here or use the file picker below. Processing happens entirely in your browser - nothing is uploaded.
Large images are sampled to speed things up (see "Sample step").
How many clusters (dominant colors) to extract.
Analyze every Nth pixel. Higher values = faster, less precise.
Dominant Colors - Quick Cheat Sheet
What this does: Runs K-means on sampled pixels to find the top K color clusters (dominant colors).
K (clusters): Try 3-8 for most photos. Higher K gives more nuance, but takes longer.
Sample step: Uses every Nth pixel. Larger steps are faster but less accurate (good for huge images).
Performance tip: For smartphone photos, start with K=5 and step=3, then refine.
Privacy: All processing is done locally in your browser. The image never leaves your device.
Export: "Download Palette (PNG)" saves swatches with their hex values.
How K-means here works (short version)
Sample pixels → initialize K random means → assign pixels to nearest mean (RGB space).
Recompute means from assigned pixels → repeat for up to ~15 iterations or until stable.
Hex values shown are rounded mean RGBs (e.g., #A1B2C3).
Cookies & privacy
Utilities Bunker uses necessary cookies to run the site. Optional cookies help remember preferences,
measure usage, and improve the platform. You can change your choices any time.
Privacy Policy.