lerp

fun lerp(start: Color, end: Color, fraction: Float): Color

Picks a Color that is fraction within the range [start, end] inclusive using linear interpolation.

Return

the color

Parameters

start

color

end

color

fraction

of the way between them