2 lines
247 B
JavaScript
2 lines
247 B
JavaScript
function e(t=!1){const o=Math.floor(Math.random()*256),r=Math.floor(Math.random()*256),a=Math.floor(Math.random()*256);if(t){const n=Math.floor(Math.random()*100);return`rgb(${o}, ${r}, ${a}, 0.${n})`}return`rgb(${o}, ${r}, ${a})`}export{e as g};
|