Functions for linear interpolation over multiple colors, e.g. to create gradients.