css color hashcode code example
Example 1: background color in hex css
<style>
div {
background-color: #ffffff; /* add # infront of the hex code */
color: #ffffff; /* add # infront of the hex code */
}
</style>
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>