CSS - RGB Color Definition

1 - About

RGB model implementation in CSS

3 - Syntax


rbg(Red Intensity, Green Intensity, Blue Intensity)


#RRGGBB

4 - Example


<table class="table table-striped">
<tbody>
<tr>
           <th>Color</th>
           <th>RGB Numeric</th>
           <th>RGB Hexadecimal</th>
           <th>Color</th>    
</tr>
<tr>
           <td style="background-color:rgb(255,0,0)"/>
           <td>rgb(255,0,0)</td>
           <td>#FF0000</td>
           <td>Red</td>
</tr>
<tr>
           <td style="background-color:rgb(0,255,0)"/>
           <td>rgb(0,255,0)</td>
           <td>#00FF00</td>
           <td>Green</td>
</tr>
<tr>
           <td style="background-color:rgb(0,0,255)"/>
           <td>rgb(0,0,255)</td>
           <td>#0000FF</td>
           <td>Blue</td>
</tr>
<tr>
           <td style="background-color:rgb(255,255,255)"/>
           <td>rgb(255,255,255)</td>
           <td>#FFFFFF</td>
           <td>White</td>
</tr>
<tr>
           <td style="background-color:rgb(125,125,125)"/>
           <td>rgb(125,125,125)</td>
           <td>#808080</td>
           <td>Gray</td>
</tr>
<tr>
           <td style="background-color:rgb(0,0,0)"/>
           <td>rgb(0,0,0)</td>
           <td>#000000</td>
           <td>Black</td>
</tr>
</tbody>
</table>


Data Science
Data Analysis
Statistics
Data Science
Linear Algebra Mathematics
Trigonometry

Powered by ComboStrap