w3scool colors code example
Example 1: color selector html
<input type="color" value="#f6f82" id="colorPicker">
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>