Added averaging to ColorUtilities