<!DOCTYPE html>
<html>
<head>
<title>Hex Color Code using CSS</title>
<style>
* { font-family: Calibri; font-size: 20px;}
.C1 {background-color: #FF3434;}
.C2 {color: #FF3434;)
</style>
</head>
<body>
<h3>
Applying background color and fore color to two different elements using Hex code in CSS.
</h3>
<div class='C1'>
Content inside DIV
</div>
<p class='C2'>
Content Inside P element
</p>
</body>
</html>