Colors are displayed combining RED, GREEN, and BLUE light sources.
A D V E R T I S E M E N T
Color Values
Colors are defined using a hexadecimal notation for the combination of Red, Green, and Blue color values (RGB).
The lowest value that can be given to one light source is 0 (hex #00). The highest value is 255 (hex #FF).
RGB Values
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.
We do not recommend that you use RGB for safe web design because non-IE browsers do not support HTML RGB.
However, if you plan on learning CSS then you should glance over this topic.
bgcolor="rgb(255,255,255)" White
bgcolor="rgb(255,0,0)" Red
bgcolor="rgb(0,255,0)" Green
bgcolor="rgb(0,0,255)" Blue
bgcolor="rgb(0,0,0)" Black
Hexadecimal
Hexadecimals are far more reliable and widely compatible among web browsers and are
the standard for colors on the internet.
A hexadecimal is a 6 digit representation of a color.
The first two digits(RR) represent a red value, the next two are a green value(GG),
and the last are the blue value(BB).
Hex numbers use 16 digits:
0 1 2 3 4 5 6 7 8 9 A B C D E F
Zero, "0", is the smallest representations of a color.
It's almost the total absence of color.
F is 15 times the intensity of the color of 0.
Combinations of these digits create different shades of a particular color.
Double Zero, "00," is equal to zero hue. FF is equal to a pure color.
This color representation is done three times, once for red, once for green, and once for blue,
in that order. Put the three, two-digit, codes together and you get a 6-digit hex code.
The hex code is just a representation of the red, green, and blue intensity, in that order.
The computer creates the three intensities, mashes them together, and you get a single shade of color.
Share And Enjoy:These icons link to social bookmarking sites where readers can share and discover new web pages.
Keywords:HTML font colors, HTML background colors, HTML hex colors,
list of HTML colors, HTML hexadecimal colors, HTML colors codes, HTML text colors,
HTML web colors, HTML font to change colors, HTML background colors a table