Grouping pixel colors
The tool scans the uploaded image and clusters pixels that are close in color, treating each cluster as a candidate swatch. Clusters are then ranked by how much of the frame they cover: the largest and most saturated groups become dominant colors, smaller but visually distinct groups become accents, and low-saturation clusters near gray, black, or white are routed into the neutral set.