colors html code example

Example 1: how to color in html

<h1 style="color: red;">Hello</h1>

Example 2: html color codes

<!-- Check these best user friendly html color codes -->
#1ca69d     #e31ce0      #c13e72      #99b34d    #3affb9
#6c7093     #b35ba0      #1b1452

Example 3: html color code

Best page to choose HTML color codes https://htmlcolorcodes.com/

Example 4: color selector html

<input type="color" value="#f6f82" id="colorPicker">

Example 5: 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 6: 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>

Tags:

Html Example