Skip to content

Instantly share code, notes, and snippets.

What would you like to do?
var color = function(){
var rcolor = function (ceil) { return Math.random() * ceil | 0; };
var bits = [rcolor(256), rcolor(182), rcolor(230), "0.6"];
return "rgba(" + bits.join(',') + ")";
Sign up for free to join this conversation on GitHub. Already have an account? Sign in to comment