Function selectColor

Select a color based on a level