rgb color : rgb « Style Basics « HTML / CSS






rgb color

 

<!DOCTYPE html PUBLIC "-//W3C//DTD XHTML 1.0 Strict//EN" "http://www.w3.org/TR/xhtml1/DTD/xhtml1-strict.dtd">
<html>
    <head>
        <title> inch measurement </title>
        <style type='text/css' media='all'>
            body {
          background-color: rgb(128, 128, 128);
      }
        </style>
    </head>
    <body>
    </body>
</html>

 








Related examples in the same category

1.Use rgb function to set the color
2.rgb color with percentage
3.background-color: rgb(128, 128, 128)
4.background-color: rgb(50%, 50%, 50%)
5.border: thin solid rgb(0, 0, 0)