Color Property
we want all headlines in a document to be dark red. The headlines are all marked with the HTML element<h1>. The code below sets the color of <h1> elements to red.
Colors can be entered as hexadecimal values as in the example above (#ff0000), or you can use the names of the colors (”red”) or rgb-values (rgb(255,0,0)). (more…)
