HTML: Colors

This entry is part 19 of 34 in the series HTML

There are 3 ways to specify a particular color in HTML.

You can use color name, RGB value or hexadecimal value.

<!DOCTYPE html>
<head lang='en'>
    <meta charset='UTF-8'>
    <title>HTML colors</title>

<p>Color Name</p>
<hr color='aqua'>
<hr color='#FFFF00'>
<hr color='rgb(255,255,0'>


Series Navigation<< HTML: The 16 basic colors
HTML: Background color >>