Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random color

var r = () => Math.random() * 256 >> 0;
var color = `rgb(${r()}, ${r()}, ${r()})`;
Source by www.paulirish.com #
 
PREVIOUS NEXT
Tagged: #javascript #random #color
ADD COMMENT
Topic
Name
1+7 =