Finding  the dominant colors in the image