How to Change the Color of the Text using CSS

1 · Coderslang Master · May 22, 2021, 8:03 p.m.
To change the text color with CSS, you should use the color CSS property. The value for it can be provided using 3 main options: a name of the color — “red”, “green”, “blue” a HEX code that starts with the hashtag — “#00FF00”, “#121212” an RGB code that looks like this — “rgb(125, 20, 255)” Let’s use all three options to write CSS that changes the color of the headers h1, h2, and h3....