how to get the color html js code example
Example: javascript change color
var span = document.getElementsByTagName("span")[0];
span.style.color = "red";
var span = document.getElementsByTagName("span")[0];
span.style.color = "red";