# Color Interpolation Demo

Drag the green ball below to change the time value t between 0 and 1. Notice how the interpolated color changes based on the value of t. See the equations on the right to understand how the color's red, green, and blue components are calculated using linear interpolation of of t between a start and end color.