Get dominant colors in an image with k-means clustering.