/color_grid

Primary LanguageJavaScript

Color Grid

Simple Javascript file for filling screen with blocks that will change colors.

Useful Params

When using multiple parameters, the first parameter must be preceeded by a ? character and subsequent parameters by a & character.

Example: http://example.com/index.html?numCol=10&extraColors=!3333AB,red

param description example
numCol The number of columns of blocks to create. This will affect the size of each grid piece. ?numCols=5
extraColors Any extra colors that you wish to display on the grid separated by a comma. Note that in the case you wish to use a hex code please replace the # with a ! character ?numColors=red,!000000