random rgba js code example Example: javascript random rgb var r = () => Math.random() * 256 >> 0; var color = `rgb(${r()}, ${r()}, ${r()})`;