background-color: rgb(128, 128, 128) : rgb « Style Basics « HTML / CSS






background-color: rgb(128, 128, 128)

 


<!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
3.rgb color with percentage
4.background-color: rgb(50%, 50%, 50%)
5.border: thin solid rgb(0, 0, 0)