3 ms·
... perhaps because it should be h / 24 instead of h / 60 ? body.animate({"background-color": "rgb(" + parseInt((h / 60) * 255) + "," +
by leot 16y ago
... perhaps because it should be h / 24 instead of h / 60 ?
body.animate({"background-color":
"rgb(" + parseInt((h / 60) * 255) + "," +
parseInt((m / 60) * 255) + "," +
parseInt((s / 60) * 255) + ")"});
- naz 16y agoYes, just corrected this thanks.