html color code code example
Example 1: html colors
<!--
The value for the color property can be set in three main ways:
by color name, for example, red, green, blue
by hexadecimal number: from #000000 to #ffffff
by color code in the RGB palette: from rgb (0, 0, 0) to rgb(255, 255, 255)
-->
Example 2: color in html
<!-- Color in HTML by inline-css -->
<p style="color: red; background-color: blue;">
This text is red and the background is blue
</p>