This amazing color changing background of the whole page is done using jQuery based on the position of the page. Designed by Jack Harner
If you are having trouble with the pen, try the archived copy on GitHub
See the Pen Changing Background Color on Scroll by Jack Harner (@jackharner) on CodePen.0