This animation uses linear interpolation through a series of three color values.
To view the source code, right-click this page and choose View Source from the shortcut menu that appears.