Calculating image average color.

Done using a worker pool of goroutines.