05 Mar 2021
There are a number of ways to create a paragraph and add some colour to the text. In this blog post I'm going to list a couple of ways you can add a paragraph in HTML and change the colour of the text to purple.
One way of creating a paragraph in HTML and add a colour is by specifying the colour in the style for the attribute 'color' please see below.
<p style="color:purple"> This text will appear in Purple </p>
<p style="color:#b56af5"> This text will appear in Purple </p>