5 Years
Discussion Span
Last Post by weekendrockstar

According to the tutorial page associated with that script you control what you want in the following line of code:

( { backgroundColor: hue }, 1000)

Change the value from 1000 to another number and it will change the range. However...it doesn't give specific values to use for a specific range that you want to keep limited to. It'd take some time but the best I can suggest is keep changing the value and refreshing and see how close you can get to what you want.

I know that the rest of the code in the tutorial makes JQuery use random color hues and basically you want to change it from being random to changing between set color values I believe. The JQuery site is currently no help in those regards. Apparently JQuery's animate functions allow one to specify RGB, HEX and color names. The tutorial page you linked to is using RGB values and randomizing it. But the official site for JQuery is missing info on the page which is supposed to further explain how to specify colors used in the 'animate' process.

This topic has been dead for over six months. Start a new discussion instead.
Have something to contribute to this discussion? Please be thoughtful, detailed and courteous, and be sure to adhere to our posting rules.