•Here
are 3 different methods to set color. The simplest being the Generic terms of colors. Examples: black, white,
red, green, and blue. Generic colors are preset HTML coded colors where the
value is simply the name of each color.
HTML Coloring System - RGB
Values
•We do
not recommend that you use RGB for safe web design because non-IE browsers do
not support HTML RGB.
•RGB
stands for Red, Green, Blue. Each can have a value from 0 (none of that color)
to 255 (fully that color). The format for RGB is - rgb(RED,
GREEN, BLUE), just like the name implies
•Red, Green, and Blue Values:
•bgcolor="rgb(255,255,255)"White
•bgcolor="rgb(255,0,0)"Red
•bgcolor="rgb(0,255,0)"Green
•bgcolor="rgb(0,0,255)"Blue
0 comments:
Post a Comment