<!DOCTYPE html>
<html lang="en">
<head>
<meta charset="UTF-8">
<meta name="viewport" content="width=device-width, initial-scale=1.0">
<title>Colers in CSS</title>
<style>
/* this is simple color by name. */
#firstpara{color: darkmagenta;}
/* this is rgb color by red green and blue value. */
#secondpara{color: rgb(92, 214, 182);}
/* this is hexadecemel color by #valuess */
#thirdpara{color: #d83d3d;}
</style>
</head>
<body>
<h2>This is my first BoX</h2>
<p id="firstpara">This is a paragraph from first BoX</p>
<h2>This is my second BoX</h2>
<p id="secondpara">This is a paragraph from second BoX</p>
<h2>This is my third BoX</h2>
<p id="thirdpara">This is a paragraph from third BoX</p>
</body>
</html>
Comments
Post a Comment