Firs: You Do not declare ID="ccolor",
Second: You Can NOT declare same ID for every 3 input tags, You have to declare class="ccolor" and in your function:
var col = document.getElementByClassName("ccolor")[0].value;
document.body.BackgroundColor = col;