🔔 Alert..!! Get 2 Month Free Cloud Hosting With $200 Bonus From Digital Ocean ACTIVATE DEAL

Color Scroll is a super simple and easy jQuery plugin that changes the background colors of your web page when scrolling down or up.

background background-color

Documentation

Color Scroll

A super tiny jQuery plugin (~862B) to change the background color as you scroll the page.

How to use

Add the script to the page

<script src='jQuery.colorscroll.min.js' id='colorScroll'></script> 

Add the colors, in order, as a data variable to the script separated by ":". RGB only.

<script src='jQuery.colorscroll.min.js' id='colorScroll' data-colors='255,160,147:236,105,255:63,183,255'></script> 

And you're done.

Example

See it in action at Color Scroll


You May Also Like