How to find average colour of television