Fix up discrete color operation for the Chase, Spin, and Twinkle effects.

Implementation is a bit iffy -- lots of reused code :-( -- but it'll do for now.