Modern browsers support 140 named colors, which are listed below. Use them in your HTML and CSS by name, Hex color code or RGB value.
Just like Hex color codes, HTML color names can be used with inline HTML styles or in a separate CSS stylesheet.
HTML
<!-- In your HTML document -->
<body>
<h1 style="color:IndianRed">Indian Red Title Text</h1>
<p style="color:SlateGray">Slate gray paragraph text</p>
</body>
CSS
/* In your .css stylesheet */
h1 { color: IndianRed; }
p { color: SlateGray; }
That's all there is too it! If you want to learn more about using HTML color names and codes in your website, check out our other tutorials for some additional enlightenment.