Finds the dominant color of an image using k means