'color' Example : color « CSS « HTML / CSS






'color' Example

 
    
<html>
<head>
<style>
.style1 { 
   font-family:verdana; 
   color:purple 
}
</style>
</head>
<body>
<p class="style1">A color text.</p>
</body>
</html>

    
      
        
  








Related examples in the same category

1.color: rgb(255, 255, 255)
2.color: lime
3.color:black
4.Named colors
5.color: crimson;
6.color: forestgreen;
7.color: darkkhaki;
8.color: green;
9.color: darkslateblue;
10.color: darkred;