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).

This table shows the result of combining Red, Green, and Blue light sources:.

ColorColor HEXColor RGB
 #000000rgb(0,0,0)
 #FF0000rgb(255,0,0)
 #00FF00rgb(0,255,0)
 #0000FFrgb(0,0,255)
 #FFFF00rgb(255,255,0)
 #00FFFFrgb(0,255,255)
 #FF00FFrgb(255,0,255)
 #C0C0C0rgb(192,192,192)
 #FFFFFFrgb(255,255,255)

Color Names

A collection of color names is supported by most browsers.

Note: Only 16 color names are supported by the W3C HTML 4.0 standard (aqua, black, blue, fuchsia, gray, green, lime, maroon, navy, olive, purple, red, silver, teal, white, and yellow). For all other colors you should use the Color HEX value.

ColorColor HEXColor Name
 #F0F8FFAliceBlue
 #FAEBD7AntiqueWhite
 #7FFFD4Aquamarine
 #000000Black
 #0000FFBlue
 #8A2BE2BlueViolet
 #A52A2ABrown

Web Safe Colors

A few years ago, when most computers supported only 256 different colors, a list of 216 Web Safe Colors was suggested as a Web standard. The reason for this was that the Microsoft and Mac operating system used 40 different "reserved" fixed system colors (about 20 each).

We are not sure how important this is now, since more and more computers are equipped with the ability to display millions of different colors, but the choice is left to you.

216 Cross Platform Colors

This 216 cross platform web safe color palette was originally created to ensure that all computers would display all colors correctly when running a 256 color palette.

0000000000330000660000990000CC0000FF
0033000033330033660033990033CC0033FF
0066000066330066660066990066CC0066FF
0099000099330099660099990099CC0099FF
00CC0000CC3300CC6600CC9900CCCC00CCFF
00FF0000FF3300FF6600FF9900FFCC00FFFF
3300003300333300663300993300CC3300FF
3333003333333333663333993333CC3333FF
3366003366333366663366993366CC3366FF
3399003399333399663399993399CC3399FF
33CC0033CC3333CC6633CC9933CCCC33CCFF
33FF0033FF3333FF6633FF9933FFCC33FFFF
6600006600336600666600996600CC6600FF
6633006633336633666633996633CC6633FF
6666006666336666666666996666CC6666FF
6699006699336699666699996699CC6699FF
66CC0066CC3366CC6666CC9966CCCC66CCFF
66FF0066FF3366FF6666FF9966FFCC66FFFF
9900009900339900669900999900CC9900FF
9933009933339933669933999933CC9933FF
9966009966339966669966999966CC9966FF
9999009999339999669999999999CC9999FF
99CC0099CC3399CC6699CC9999CCCC99CCFF
99FF0099FF3399FF6699FF9999FFCC99FFFF
CC0000CC0033CC0066CC0099CC00CCCC00FF
CC3300CC3333CC3366CC3399CC33CCCC33FF
CC6600CC6633CC6666CC6699CC66CCCC66FF
CC9900CC9933CC9966CC9999CC99CCCC99FF
CCCC00CCCC33CCCC66CCCC99CCCCCCCCCCFF
CCFF00CCFF33CCFF66CCFF99CCFFCCCCFFFF
FF0000FF0033FF0066FF0099FF00CCFF00FF
FF3300FF3333FF3366FF3399FF33CCFF33FF
FF6600FF6633FF6666FF6699FF66CCFF66FF
FF9900FF9933FF9966FF9999FF99CCFF99FF
FFCC00FFCC33FFCC66FFCC99FFCCCCFFCCFF
FFFF00FFFF33FFFF66FFFF99FFFFCCFFFFFF

The HTML 4.x specifications defines sixteen color names that can be used instead of color values in HTML. These colors are valid values for attributes such as BGCOLOR or LINK on the BODY element. The CSS2 specification also uses these colors as color values which can be used with properties such as color, background-color or border-color.

 

HTML 4.01 & CSS2 Colors
Color NameHex 6Hex 3RGBRGB%WebsafeReallysafeSample
black#000000#0000,0,00%,0%,0%YesYes 
silver#C0C0C0#CCC192,192,19275%,75%,75%NoNo 
gray#808080#888128,128,12850%,50%,50%NoNo 
white#FFFFFF#FFF255,255,255100%,100%,100%YesYes 
maroon#800000#800128,0,050%,0%,0%NoNo 
red#FF0000#F00255,0,0100%,0%,0%YesYes 
purple#800080#808128,0,12850%,0%,50%NoNo 
fuchsia#FF00FF#F0F255,0,255100%,0%,100%YesYes 
green#008000#0800,128,00%,50%,0%NoNo 
lime#00FF00#0F00,255,00%,100%,0%YesYes 
olive#808000#880128,128,050%,50%,0%NoNo 
yellow#FFFF00#FF0255,255,0100%,100%,0%YesYes 
navy#000080#0080,0,1280%,0%,50%NoNo 
blue#0000FF#00F0,0,2550%,0%,100%YesYes 
teal#008080#0880,128,1280%,50%,50%NoNo 
aqua#00FFFF#0FF0,255,2550%,100%,100%YesYes 

The 140 web color names are displayed alphabetically in the table below along with their respective RGB values.

aliceblue

240,248,255
F0F8FF

darkslategray

47,79,79
2F4F4F

lightsalmon

255,160,122
FFA07A

palevioletred

219,112,147
DB7093

antiquewhite

250,235,215
FAEBD7

darkturquoise

0,206,209
00CED1

lightseagreen

32,178,170
20B2AA

papayawhip

255,239,213
FFEFD5

aqua

0,255,255
00FFFF

darkviolet

148,0,211
9400D3

lightskyblue

135,206,250
87CEFA

peachpuff

255,239,213
FFDAB9

aquamarine

127,255,212
7FFFD4

deeppink

255,20,147
FF1493

lightslategray

119,136,153
778899

peru

205,133,63
CD853F

azure

240,255,255
F0FFFF

deepskyblue

0,191,255
00BFFF

lightsteelblue

176,196,222
B0C4DE

pink

255,192,203
FFC0CB

beige

245,245,220
F5F5DC

dimgray

105,105,105
696969

lightyellow

255,255,224
FFFFE0

plum

221,160,221
DDA0DD

bisque

255,228,196
FFE4C4

dodgerblue

30,144,255
1E90FF

lime

0,255,0
00FF00

powderblue

176,224,230
B0E0E6

black

0,0,0
000000

firebrick

178,34,34
B22222

limegreen

50,205,50
32CD32

purple

128,0,128
800080

blanchedalmond

255,255,205
FFEBCD

floralwhite

255,250,240
FFFAF0

linen

250,240,230
FAF0E6

red

255,0,0
FF0000

blue

0,0,255
0000FF

forestgreen

34,139,34
228B22

magenta

255,0,255
FF00FF

rosybrown

188,143,143
BC8F8F

blueviolet

138,43,226
8A2BE2

fuchsia

255,0,255
FF00FF

maroon

128,0,0
800000

royalblue

65,105,225
4169E1

brown

165,42,42
A52A2A

gainsboro

220,220,220
DCDCDC

mediumaquamarine

102,205,170
66CDAA

saddlebrown

139,69,19
8B4513

burlywood

222,184,135
DEB887

ghostwhite

248,248,255
F8F8FF

mediumblue

0,0,205
0000CD

salmon

250,128,114
FA8072

cadetblue

95,158,160
5F9EA0

gold

255,215,0
FFD700

mediumorchid

186,85,211
BA55D3

sandybrown

244,164,96
F4A460

chartreuse

127,255,0
7FFF00

goldenrod

218,165,32
DAA520

mediumpurple

147,112,219
9370DB

seagreen

46,139,87
2E8B57

chocolate

210,105,30
D2691E

gray

128,128,128
808080

mediumseagreen

60,179,113
3CB371

seashell

255,245,238
FFF5EE

coral

255,127,80
FF7F50

green

0,128,0
008000

mediumslateblue

123,104,238
7B68EE

sienna

160,82,45
A0522D

cornflowerblue

100,149,237
6495ED

greenyellow

173,255,47
ADFF2F

mediumspringgreen

0,250,154
00FA9A

silver

192,192,192
C0C0C0

cornsilk

255,248,220
FFF8DC

honeydew

240,255,240
F0FFF0

mediumturquoise

72,209,204
48D1CC

skyblue

135,206,235
87CEEB

crimson

220,20,60
DC143C

hotpink

255,105,180
FF69B4

mediumvioletred

199,21,133
C71585

slateblue

106,90,205
6A5ACD

cyan

0,255,255
00FFFF

indianred

205,92,92
CD5C5C

midnightblue

25,25,112
191970

slategray

112,128,144
708090

darkblue

0,0,139
00008B

indigo

75,0,130
4B0082

mintcream

245,255,250
F5FFFA

snow

255,250,250
FFFAFA

darkcyan

0,139,139
008B8B

ivory

255,240,240
FFFFF0

mistyrose

255,228,225
FFE4E1

springgreen

0,255,127
00FF7F

darkgoldenrod

184,134,11
B8860B

khaki

240,230,140
F0E68C

moccasin

255,228,181
FFE4B5

steelblue

70,130,180
4682B4

darkgray

169,169,169
A9A9A9

lavender

230,230,250
E6E6FA

navajowhite

255,222,173
FFDEAD

tan

210,180,140
D2B48C

darkgreen

0,100,0
006400

lavenderblush

255,240,245
FFF0F5

navy

0,0,128
000080

teal

0,128,128
008080

darkkhaki

189,183,107
BDB76B

lawngreen

124,252,0
7CFC00

oldlace

253,245,230
FDF5E6

thistle

216,191,216
D8BFD8

darkmagenta

139,0,139
8B008B

lemonchiffon

255,250,205
FFFACD

olive

128,128,0
808000

tomato

253,99,71
FD6347

darkolivegreen

85,107,47
556B2F

lightblue

173,216,230
ADD8E6

olivedrab

107,142,35
6B8E23

turquoise

64,224,208
40E0D0

darkorange

255,140,0
FF8C00

lightcoral

240,128,128
F08080

orange

255,165,0
FFA500

violet

238,130,238
EE82EE

darkorchid

153,50,204
9932CC

lightcyan

224,255,255
E0FFFF

orangered

255,69,0
FF4500

wheat

245,222,179
F5DEB3

darkred

139,0,0
8B0000

lightgoldenrodyellow

250,250,210
FAFAD2

orchid

218,112,214
DA70D6

white

255,255,255
FFFFFF

darksalmon

233,150,122
E9967A

lightgreen

144,238,144
90EE90

palegoldenrod

238,232,170
EEE8AA

whitesmoke

245,245,245
F5F5F5

darkseagreen

143,188,143
8FBC8F

lightgrey

211,211,211
D3D3D3

palegreen

152,251,152
98FB98

yellow

255,255,0
FFFF00

darkslateblue

72,61,139
483D8B

lightpink

255,182,193
FFB6C1

paleturquoise

175,238,238
AFEEEE

yellowgreen

154,205,50
9ACD32


Plaats een reactie
Bekijk reacties
Go to top

  




Free website & domain name provided by blogje.eu . C.M.S. & templates © Universalis . Hosted & powered by Shopje © 2003 - 2017 .
Laatst gewijzigd: 2007-02-25 Hits: