Quick random CSS color from JavaScript
2015-03-19
function rndColor() { return "hsl(" + (Math.random() * 360) + ", 80%, 60%)"; } Note: IE8 does not re...
- generate
- random
- colors
- web
- development
function rndColor() { return "hsl(" + (Math.random() * 360) + ", 80%, 60%)"; } Note: IE8 does not re...