JS ID Style BackgroundColor Change

 document.getElementById("p1").style.color= "#ff0000";  // red
Shadow