You might also be interested in lerpColor, which can be used to produce different hue gradients by modifying the input colors.
A recent lerpColor sketch: