Tri color

prepared code for allowing 3 channels of color manipulation