Parameters
- result
- The linear interpolation of the two colors.
- start
- Start color.
- end
- End color.
- amount
- Value between 0 and 1 indicating the weight of end.
start + (end - start) * amount
Passing amount a value of 0 will cause start to be returned; a value of 1 will cause end to be returned.