LerpColor
Description
Performs linear interpolation (opens in a new tab) between two colors.
Arguments
number t
The fraction representing the progress of the interpolation.
Color from
The color to start from.
Color to
The color to end with.
Returns
Color
The result of the linear interpolation.
Color:Lerp
Description
Performs linear interpolation (opens in a new tab) starting from the color the method was called on.
Arguments
Returns
Color
The color the method was called on.