how to set colour of text in html code example Example: how to color in html <h1 style="color: red;">Hello</h1>