Color de fondo
document.body.style.backgroundColor="#000000";
Imagen de fondo
document.body.style.backgroundImage="url(ruta_de_la_imagen)";
document.body.style.backgroundColor="#000000";
document.body.style.backgroundImage="url(ruta_de_la_imagen)";