change text shadow color javascript code example Example: change text shadow javascript document.getElementById("id").style.textShadow = "new";