Interpolate from a to b by t into out, taking the shortest path around the hue wheel (so e.g. 350°→10° passes through 0°, not all the way back). Returns out.
a
b
t
out
Interpolate from
atobbytintoout, taking the shortest path around the hue wheel (so e.g. 350°→10° passes through 0°, not all the way back). Returnsout.