Tweak anim2 to make colour gradients more smooth.