updating replaceColor routine to switch case so I can fully light an LED wit 8 bit value