Search
 
SCRIPT & CODE EXAMPLE
 
CODE EXAMPLE FOR JAVASCRIPT

javascript random rgb

var r = () => Math.random() * 256 >> 0;
var color = `rgb(${r()}, ${r()}, ${r()})`;
 
PREVIOUS NEXT
Tagged: #javascript #random #rgb
ADD COMMENT
Topic
Name
5+6 =