HTML Text Color Example

Text Color using font element

<html>
<head>
</head>
<body>
  <p><font color="#FF6633">This Example is Olivered text color</font></p>
  <p><font color="#CCCC33">This Example is Green text color</font></p>
</body>
</html>

This Example is Olivered text color

This Example is Green text color

Text color using CSS

<html>
<head>
</head>
<body>
  <p style="color: #FF6633;">This Example is Olivered text color</p>
  <p style="color: #CCCC33;">This Example is Green text color</p>
</body>
</html>

This Example is CSS Purple text color

This Example is CSS Hexadecimal text color

CSS Using Shadow Text Color

<html>
<head>
</head>
<body>
  <p style="text-shadow:3px 3px 8px #FF6633;font-size:14px">This Example is CSS Purple shadow text color.</p>
</body>
</html>

This Example is CSS Purple shadow text color.