HNRS 299, Spring 2017
Assignments<A HREF = "http://www.nasa.gov"><IMG SRC = "moon.gif"></A>
<BODY BGCOLOR = "blue">
The color can be specified as one of the standard colors:
Hexadecimal color notation
Alternatively you can specify colors in Hexadecimal notation,
for example:
<BODY BGCOLOR = "#FFFFFF">
<BODY BGCOLOR = "#2277CC">
In this notation, the first 2 digits refer to the amount of red, the second two refer to the amount of blue and the third pair refer to the amount of green in the color.
#00FF00 refers to bright green
#0000FF refers to bright blue
#FFFFFF refers to white
#000000 refers to black
#2277CC refers to a small amount of red mixed with much more green, mixed with a lot of blue. If you look at the HTML for this page, you will see the body tag is as follows:
<BODY BGCOLOR = "#2277CC">