Cor de contexto JavaScript
context.fillStyle = "Green";
context.fillStyle = "#FF0000";
Bright Badger
context.fillStyle = "Green";
context.fillStyle = "#FF0000";
document.getElementById("myH2").style.color = "#ff0000";
document.getElementById("myP").style.color = "magenta";
document.getElementById("myP2").style.color = "blue";
document.getElementById("myDiv").style.color = "lightblue";
element.style.color = '#f0f';
var span = document.getElementsByTagName("span")[0];
span.style.color = "red";