working version of color identifier. finds the average hex