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/old/javascript/js/mylib.js
Views: 729
1
function randomColor() {
2
var r = parseInt(Math.random() * 128 + 128);
3
var g = parseInt(Math.random() * 128 + 128);
4
var b = parseInt(Math.random() * 128 + 128);
5
return 'rgb(' + r + ', ' + g + ', ' + b + ')';
6
}
7