Want a heading to look red? The CSS color property sets an element’s text color. It changes the letters, not the area behind them; background-color handles that. section 4.32
Color a heading
h1 { color: hsl(0, 100%, 50%); } Here, h1 selects headings, color names the property, and the hsl() value specifies red. The braces hold the rule; the colon and semicolon separate its parts. Try changing the value to hsl(180, 100%, 50%) to make the text cyan. section 1.17 section 17.15
Color choices also shape how a page feels. For a simple starting point, use two or three colors rather than a dozen. You can use one as the main hue and another as an accent. section 17.15

