JS cor hexadecimal aleatória
'#'+Math.floor(Math.random()*16777215).toString(16);
Jolly Jackal
'#'+Math.floor(Math.random()*16777215).toString(16);
'#'+(0x1000000+(Math.random())*0xffffff).toString(16).substr(1,6)
var randomColor = "#000000".replace(/0/g,function(){return (~~(Math.random()*16)).toString(16);});