When you change the intensity of a light, the way to do it that looks really cool is to multiply the existing value by either 0.5 (dimmer) or 2.0 (brighter) repeatedly and then reverse when you get within an epsilon (say 0.01) of the limits (0 or 255, whatever).    The geometric progress looks really cool (example is the power light on the macbook).