Colors are displayed combining: RED, GREEN, and BLUE light sources : Color « Reference « HTML / CSS






Colors are displayed combining: RED, GREEN, and BLUE light sources

 
<html>
<body>
Colors are displayed combining&nbsp; RED, GREEN, and BLUE light sources.</p>


<h2>Color Values</h2>

<p>This table shows the result of combining Red, Green, and Blue light sources:.</p>

<table class="ex" cellspacing="0" border="1" width="100%">
  <tr>
    <th width="50%">Color</th>

    <th width="25%">Color HEX</th>
    <th width="25%">Color RGB</th>
  </tr>
  <tr>
    <td bgcolor="#000000">&nbsp;</td>
    <td>#000000</td>
    <td>rgb(0,0,0)</td>

  </tr>
  <tr>
    <td bgcolor="#FF0000">&nbsp;</td>
    <td>#FF0000</td>
    <td>rgb(255,0,0)</td>
  </tr>
  <tr>
    <td bgcolor="#00FF00">&nbsp;</td>

    <td>#00FF00</td>
    <td>rgb(0,255,0)</td>
  </tr>
  <tr>
    <td bgcolor="#0000FF">&nbsp;</td>
    <td>#0000FF</td>
    <td>rgb(0,0,255)</td>

  </tr>
  <tr>
    <td bgcolor="#FFFF00">&nbsp;</td>
    <td>#FFFF00</td>
    <td>rgb(255,255,0)</td>
  </tr>
  <tr>
    <td bgcolor="#00FFFF">&nbsp;</td>

    <td>#00FFFF</td>
    <td>rgb(0,255,255)</td>
  </tr>
  <tr>
    <td bgcolor="#FF00FF">&nbsp;</td>
    <td>#FF00FF</td>
    <td>rgb(255,0,255)</td>

  </tr>
  <tr>
    <td bgcolor="#C0C0C0">&nbsp;</td>
    <td>#C0C0C0</td>
    <td>rgb(192,192,192)</td>
  </tr>
  <tr>
    <td bgcolor="#FFFFFF">&nbsp;</td>

    <td>#FFFFFF</td>
    <td>rgb(255,255,255)</td>
  </tr>
</table>
<br />
<hr />
</body>
</html>



           
         
  








Related examples in the same category

1.Color Names: 140 color names are listed alphabetically.
2.The Web Palette
3.HTML Color Names
4.CSS Color Chart: Gray Scale
5.Shades of Gray
6.Colors Sorted Alphabetically
7.Fixed Red value: #FF
8.Fixed Red value: #00
9.CSS Color Chart: Pure Colors
10.CSS Color Chart: Mixture of Red and Green
11.CSS Color Chart: Mixtures of Blue and Red
12.CSS Color Chart: Mixtures of Blue and Green
13.CSS Color Chart:Mixtures of Red, Blue, and Green
14.A table of color names that are supported by most browsers
15.Cross Platform Colors
16.Color Names List
17.CSS2.1 colors and their corresponding decimal, percentage, and hexadecimal values.
18.color constant name