javascript random rgb
snippet in javascript

javascript random rgb

user952

var r = () => Math.random() * 256 >> 0;
var color = `rgb(${r()}, ${r()}, ${r()})`;