HTML Colours

Colours can be set using colour names, RGB values, and HEX values.

Using colour names

<h3 style="color: red">Some heading</h3>

<h3 style="color: blue">Some heading</h3>

Using RGB values

<h3 style="color: rgb(0,0,255)">Some heading</h3>

<h3 style="color: rgb(0,255,0)">Some heading</h3>

Using HEX values

<h3 style="color: #FF0000">Some heading</h3>

<h3 style="color: #0000FF">Some heading</h3>