assign text color html code example Example: make text blue html <p style="color:blue;">This paragraph is blue.</p>