lerp

Returns a linearly interpolated color between a and b colors.

Parameters

a

the source color.

b

the destination color.

t

the interpolator value with an expected range of [0, 1].