Dominant Colors (K-means)

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

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.

Manage Cookies