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

HTML / CSS » Style Basics » rgb 
background-color: rgb(50%, 50%, 50%)
 

<!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(50%, 50%, 50%);
      }
        </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(128, 128, 128)
5.border: thin solid rgb(0, 0, 0)
java2s.com  | Contact Us | Privacy Policy
Copyright 2009 - 12 Demo Source and Support. All rights reserved.
All other trademarks are property of their respective owners.