Gets dominant colour of an image.