Snippets Collections
<!DOCTYPE html>
<html lang="en">
<head>
  <meta charset="UTF-8">
  <meta http-equiv="X-UA-Compatible" content="IE=edge">
  <meta name="viewport" content="width=device-width, initial-scale=1.0">
  <title>Colors in CSS</title>

  <style>
    /*Hex value*/
    h1{
      color: rgb(red, green, blue) ;
    }
    /*Color Name*/
    h2{
      color: blue;
    }
    /*Color RGB*/
    h3{
      color: #00000;
    }
  </style>

</head>
<body>

<h1>Color By Hex value</h1>  
<h2>Color By Color Name</h2>
<h3>Color by Color RGB</h3>

</body>
</html>
star

Sun Mar 21 2021 17:03:58 GMT+0000 (UTC)

#css #css_colors #color

Save snippets that work with our extensions

Available in the Chrome Web Store Get Firefox Add-on Get VS Code extension