Abarth77 / changeColor

Geek Repo:Geek Repo

Github PK Tool:Github PK Tool

parrot.js

While you most likely will not find a use for this right now, the library serves the purpose of generating a random color, either in RGB og HEX, and makes you able to change this by activating a repeat function or not.

example use:

changeColorLib.addColor(true, false, 'box', true);

Arguments:

  • #1 - Get RGB color
  • #2 - Get HEX color
  • #3 - Classname of DOM object to be changed, for example 'box'
  • #4 - Boolean, if true repeats the color change.

About


Languages

Language:JavaScript 100.0%