improve algorithm to choose the colorfullness color