CoCalc Logo Icon
StoreFeaturesDocsShareSupportNewsAboutSign UpSign In
jackfrued

CoCalc provides the best real-time collaborative environment for Jupyter Notebooks, LaTeX documents, and SageMath, scalable from individual users to large groups and classes!

GitHub Repository: jackfrued/Python-100-Days
Path: blob/master/Day21-30/code/new/web1901/js/hello.js
Views: 729
1
function randomColor(opacity=1) {
2
let r = parseInt(Math.random() * 256)
3
let g = parseInt(Math.random() * 256)
4
let b = parseInt(Math.random() * 256)
5
return `rgba(${r}, ${g}, ${b}, ${opacity})`
6
}
7
8