Appendix I. XHTML Colors


I. XHTML Colors

Colors may be specified by using a standard name (such as aqua) or a hexadecimal RGB value (such as #00FFFF for aqua). Of the six hexadecimal digits in an RGB value, the first two represent the amount of red in the color, the middle two represent the amount of green in the color, and the last two represent the amount of blue in the color. For example, black is the absence of color and is defined by #000000, whereas white is the maximum amount of red, green and blue and is defined by #FFFFFF. Pure red is #FF0000, pure green (which is called lime) is #00FF00 and pure blue is #0000FF. Note that green in the standard is defined as #008000. Figure I.1 contains the XHTML standard color set. Figure I.2 contains the XHTML extended color set.

Figure I.1. XHTML standard colors and hexadecimal RGB values

Color name

Value

Color name

Value

aqua

#00FFFF

navy

#000080

black

#000000

olive

#808000

blue

#0000FF

purple

#800080

fuchsia

#FF00FF

red

#FF0000

gray

#808080

silver

#C0C0C0

green

#008000

teal

#008080

lime

#00FF00

yellow

#FFFF00

maroon

#800000

white

#FFFFFF


Figure I.2. XHTML extended colors and hexadecimal RGB values

Color name

Value

Color name

Value

aliceblue

#F0F8FF

darkslategray

#2F4F4F

antiquewhite

#FAEBD7

darkturquoise

#00CED1

aquamarine

#7FFFD4

darkviolet

#9400D3

azure

#F0FFFF

deeppink

#FF1493

beige

#F5F5DC

deepskyblue

#00BFFF

bisque

#FFE4C4

dimgray

#696969

blanchedalmond

#FFEBCD

dodgerblue

#1E90FF

blueviolet

#8A2BE2

firebrick

#B22222

brown

#A52A2A

floralwhite

#FFFAF0

burlywood

#DEB887

forestgreen

#228B22

cadetblue

#5F9EA0

gainsboro

#DCDCDC

chartreuse

#7FFF00

ghostwhite

#F8F8FF

chocolate

#D2691E

gold

#FFD700

coral

#FF7F50

goldenrod

#DAA520

cornflowerblue

#6495ED

greenyellow

#ADFF2F

cornsilk

#FFF8DC

honeydew

#F0FFF0

crimson

#DC1436

hotpink

#FF69B4

cyan

#00FFFF

indianred

#CD5C5C

darkblue

#00008B

indigo

#4B0082

darkcyan

#008B8B

ivory

#FFFFF0

darkgoldenrod

#B8860B

khaki

#F0E68C

darkgray

#A9A9A9

lavender

#E6E6FA

darkgreen

#006400

lavenderblush

#FFF0F5

darkkhaki

#BDB76B

lawngreen

#7CFC00

darkmagenta

#8B008B

lemonchiffon

#FFFACD

darkolivegreen

#556B2F

lightblue

#ADD8E6

darkorange

#FF8C00

lightcoral

#F08080

darkorchid

#9932CC

lightcyan

#E0FFFF

darkred

#8B0000

lightgoldenrodyellow

#FAFAD2

darksalmon

#E9967A

lightgreen

#90EE90

darkseagreen

#8FBC8F

lightgrey

#D3D3D3

darkslateblue

#483D8B

lightpink

#FFB6C1

lightsalmon

#FFA07A

palevioletred

#DB7093

lightseagreen

#20B2AA

papayawhip

#FFEFD5

lightskyblue

#87CEFA

peachpuff

#FFDAB9

lightslategray

#778899

peru

#CD853F

lightsteelblue

#B0C4DE

pink

#FFC0CB

lightyellow

#FFFFE0

plum

#DDA0DD

limegreen

#32CD32

powderblue

#B0E0E6

mediumaquamarine

#66CDAA

rosybrown

#BC8F8F

mediumblue

#0000CD

royalblue

#4169E1

mediumorchid

#BA55D3

saddlebrown

#8B4513

mediumpurple

#9370DB

salmon

#FA8072

mediumseagreen

#3CB371

sandybrown

#F4A460

mediumslateblue

#7B68EE

seagreen

#2E8B57

mediumspringgreen

#00FA9A

seashell

#FFF5EE

mediumturquoise

#48D1CC

sienna

#A0522D

mediumvioletred

#C71585

skyblue

#87CEEB

midnightblue

#191970

slateblue

#6A5ACD

mintcream

#F5FFFA

slategray

#708090

mistyrose

#FFE4E1

snow

#FFFAFA

moccasin

#FFE4B5

springgreen

#00FF7F

navajowhite

#FFDEAD

steelblue

#4682B4

oldlace

#FDF5E6

tan

#D2B48C

olivedrab

#6B8E23

thistle

#D8BFD8

orange

#FFA500

tomato

#FF6347

orangered

#FF4500

turquoise

#40E0D0

orchid

#DA70D6

violet

#EE82EE

palegoldenrod

#EEE8AA

wheat

#F5DEB3

palegreen

#98FB98

whitesmoke

#F5F5F5

paleturquoise

#AFEEEE

yellowgreen

#9ACD32




Visual BasicR 2005 for Programmers. DeitelR Developer Series
Visual Basic 2005 for Programmers (2nd Edition)
ISBN: 013225140X
EAN: 2147483647
Year: 2004
Pages: 435

flylib.com © 2008-2017.
If you may any questions please contact us: flylib@qtcs.net