change color on the fly