Во многих свойствах делаются ссылки на цвета. Такие ссылки могут быть сделаны двумя способами. Первый заключается в применении строковых литералов, представляющих собой имя цвета. Второй состоит в использовании шестнадцатеричных триплетов RGB, формируемых из трех двузначнух значений составляющих цветов. Например, определеный оттенок синего цвета представляется как литерал aliceblue или как триплет F0F8FF. Реальный цвет на клиентском компьютере зависит от возможностей монитора - монитор VGA с 16 цветами явно не даст такой картинки, как SVGA с 16 миллионами цветов.
Цвет как строковый литерал | Red | Green | Blue | |
aliceblue (aliceblue) | F0 | F8 | FF | |
antiquewhite (antiquewhite) | FA | EB | D7 | |
aqua (aqua) | 00 | FF | FF | |
aquamarine (aquamarine) | 7F | FF | D4 | |
azure (azure) | F0 | FF | FF | |
beige (beige) | F5 | F5 | DC | |
bisque (bisque) | FF | E4 | C4 | |
black (black) | 00 | 00 | 00 | |
blanchedalmond (blanchedalmond) | FF | EB | CD | |
blue (blue) | 00 | FF | FF | |
blueviolet (blueviolet) | 8A | 2B | E2 | |
brown (brown) | A5 | 2A | 2A | |
burlywood (burlywood) | DE | 88 | 87 | |
cadetblue (cadetblue) | 5F | 9E | A0 | |
charteuse (charteuse) | 7F | FF | 00 | |
chocolate (chocolate) | D2 | 69 | 1E | |
coral (coral) | FF | 7F | 50 | |
cornflowerblue (cornflowerblue) | 64 | 95 | ED | |
cornsilk (cornsilk) | FF | F8 | DC | |
crimson (crimson) | DC | 14 | 3C | |
cyan (cyan) | 00 | FF | FF | |
darkblue (darkblue) | 00 | 00 | 8B | |
darkcyan (darkcyan) | 00 | 8B | 8B | |
darkgoldenrod (darkgoldenrod) | B8 | 86 | 0B | |
darkgray (darkgray) | A9 | A9 | A9 | |
darkgreen (darkgreen) | 00 | 64 | 00 | |
darkkhaki (darkkhaki) | BD | B7 | 6D | |
darkmagenta (darkmagenta) | 8B | 00 | 8B | |
darkolivegreen (darkolivegreen) | 55 | 6B | 2F | |
darkorange (darkorange) | FF | 8C | 00 | |
darkorchid (darkorchid) | 99 | 32 | CC | |
darkred (darkred) | 8B | 00 | 00 | |
darksalmon (darksalmon) | E9 | 96 | 7A | |
darkseagreen (darkseagreen) | 8F | BC | 8F | |
darkslateblue (darkslateblue) | 48 | 3D | 8B | |
darkslategray (darkslategray) | 2F | 4F | 4F | |
darkturquoise (darkturquoise) | 00 | CE | D1 | |
darkviolet (darkviolet) | 94 | 00 | D3 | |
deeppink (deeppink) | FF | 14 | 93 | |
deepskyblue (deepskyblue) | 00 | BF | FF | |
dimgray (dimgray) | 69 | 69 | 69 | |
dodgerblue (dodgerblue) | 1E | 90 | FF | |
firebrick (firebrick) | B2 | 22 | 22 | |
florawhite (florawhite) | FF | FA | F0 | |
forestgreen (forestgreen) | 22 | 8B | 22 | |
fuchsia (fuchsia) | FF | 00 | FF | |
gainsboro (gainsboro) | DC | DC | DC | |
ghostwhite (ghostwhite) | F8 | F8 | FF | |
gold (gold) | FF | D7 | 00 | |
doldenrod (goldenrod) | DA | A5 | 20 | |
gray (gray) | 80 | 80 | 80 | |
green (green) | 00 | 80 | 00 | |
greenyellow (greenyellow) | AD | FF | 2F | |
honeydew (honeydew) | F0 | FF | F0 | |
hotpink (hotpink) | FF | 69 | B4 | |
indianred (indianred) | CD | 5C | 5C | |
indigo (indigo) | 4B | 00 | 82 | |
ivory (ivory) | FF | FF | F0 | |
khaki (khaki) | F0 | E6 | 8C | |
lavender (lavender) | E6 | E6 | FA | |
lavenderblush (lavenderblush) | FF | F0 | F5 | |
lawgreen (lawgreen) | 7C | FC | 00 | |
lemonchiffon (lemonchiffon) | FF | FA | CD | |
lightblue (lightblue) | AD | D8 | E6 | |
lightcoral (lightcoral) | F0 | 80 | 80 | |
lightcyan (lightcyan) | E0 | FF | FF | |
lightgoldenrodyellow (lightgoldenrodyellow) | FA | FA | D2 | |
lightgreen (lightgreen) | 90 | EE | 90 | |
lightgray (lightgray) | D3 | D3 | D3 | |
lightpink (lightpink) | FF | B6 | C1 | |
lightsalmon (lightsalmon) | FF | A0 | 7A | |
lightseagreen (lightseagreen) | 20 | B2 | AA | |
lightskyblue (lightskyblue) | 87 | CE | FA | |
lightslategray (lightslategray) | 77 | 88 | 99 | |
lightsteelblue (lightsteelblue) | B0 | C4 | DE | |
lightyellow (lightyellow) | FF | FF | E0 | |
lime (lime) | 00 | FF | 00 | |
limegreen (limegreen) | 32 | CD | 32 | |
linen (linen) | FA | F0 | F6 | |
magenta (magenta) | FF | 00 | FF | |
maroon (maroon) | 80 | 00 | 00 | |
mediumaquamarine (mediumaquamarine) | 66 | CD | AA | |
mediumblue (mediumblue) | 00 | 00 | CD | |
mediumorchid (mediumorchid) | BA | 55 | D3 | |
mediumpurple (mediumpurple) | 93 | 70 | DB | |
mediumseagreen (mediumseagreen) | 3C | B3 | 71 | |
mediumslateblue (mediumslateblue) | 7B | 68 | EE | |
mediumspringgreen (mediumspringgreen) | 00 | FA | 9A | |
mediumturquoise (mediumturquoise) | 48 | D1 | CC | |
mediumvioletred (mediumvioletred) | C7 | 15 | 85 | |
midnightblue (midnightblue) | 19 | 19 | 70 | |
mintcream (mintcream) | F5 | FF | FA | |
mistyrose (mistyrose) | FF | E4 | E1 | |
moccasin (moccasin) | FF | E4 | B5 | |
navajowhite (navajowhite) | FF | DE | AD | |
navy (navy) | 00 | 00 | 80 | |
oldlace (oldlace) | FD | F5 | E6 | |
olive (olive) | 80 | 80 | 00 | |
olivedrab (olivedrab) | 6B | 8E | 23 | |
orange (orange) | FF | A5 | 00 | |
orangered (orangered) | FF | 45 | 00 | |
orchid (orchid) | DA | 70 | D6 | |
palegoldenrod (palegoldenrod) | EE | E8 | AA | |
palegreen (palegreen) | 98 | FB | 98 | |
paleturquoise (paleturquoise) | AF | EE | EE | |
palevioletred (palevioletred) | DB | 70 | 93 | |
papayawhip (papayawhip) | FF | EF | D5 | |
peachpuff (peachpuff) | FF | DA | B9 | |
peru (peru) | CD | 85 | 3F | |
pink (pink) | FF | C0 | CB | |
plum (plum) | DD | A0 | DD | |
powderblue (powderblue) | B0 | E0 | E6 | |
purple (purple) | 80 | 00 | 80 | |
red (red) | FF | 00 | 00 | |
rosybrown (rosybrown) | BC | 8F | 8F | |
royalblue (royalblue) | 41 | 69 | E1 | |
saddiebrown (saddiebrown) | 8B | 45 | 13 | |
salmon (salmon) | FA | 80 | 72 | |
sandybrown (sandybrown) | F4 | A4 | 60 | |
seagreen (seagreen) | 2E | 8B | 57 | |
seashell (seashell) | FF | E5 | EE | |
sienna (sienna) | A0 | 52 | 2D | |
silver (silver) | C0 | C0 | C0 | |
skyblue (skyblue) | 87 | CE | EB | |
slateblue (slateblue) | 6A | 5A | CD | |
slategray (slategray) | 70 | 80 | 90 | |
snow (snow) | FF | FA | FA | |
springgreen (springgreen) | 00 | FF | 7F | |
steelblue (steelblue) | 46 | 82 | B4 | |
tan (tan) | D2 | B4 | 8C | |
teal (teal) | 00 | 80 | 80 | |
thistle (thistle) | D8 | BF | D8 | |
tomato (tomato) | FF | 63 | 47 | |
turquoise (turquoise) | 40 | E0 | D0 | |
violet (violet) | EE | 82 | EE | |
wheat (wheat) | F5 | DE | B3 | |
white (white) | FF | FF | FF | |
whitesmoke (fhitesmoke) | F5 | F5 | F5 | |
yellow (yellow) | FF | FF | 00 | |
yellowgreen (yellowgreen) | 9A | CD | 32 | |
<<Назад Содержание Далее>> |