scale the ring diameter of the hue component along the lightness axis before running the clustering so that the extremes (white/black) are more likely to get clustered together. this should help generate a more evenly spread set of colors.
scale the ring diameter of the hue component along the lightness axis before running the clustering so that the extremes (white/black) are more likely to get clustered together. this should help generate a more evenly spread set of colors.

FabriceCastel/gvcci,FabriceCastel/gvcci