Skip to content

Why does this exist?  There are lots of clever one-liners for generating random colors:

[code]’#’+Math.floor(Math.random()*16777215).toString(16);[/code]

Unfortunately, this code naturally produces lots of greys and browns and murky greens.  randomColor generates attractive colors by default.

http://ift.tt/1u8gHY6