Jak zmienić kolor H1 w JavaScript

<h1 id="demo">Grepper</h1>
var col = document.getElementById("demo");
col.style.color="#FF0000";
Plain Pig