Colors
You have no function called rgb(...)
rgb(...)
I think you meant to do:
document.body.style.backgroundColor = "rgb(" + a + "," + b + "," + c + ");";