A.7 Liste des couleurs
Couleurs de base
La syntaxe appropriée à la gestion des couleurs est traitée au chapitre
Coloration d’objets.
black |
white |
red |
green |
blue |
cyan |
magenta |
yellow |
grey |
darkred |
darkgreen |
darkblue |
darkcyan |
darkmagenta |
darkyellow |
Noms de couleur CSS
Les noms de couleur CSS peuvent s’utiliser tels quels en argument
textuel.
aliceblue |
antiquewhite |
aqua |
aquamarine |
azure |
beige |
bisque |
black |
blanchedalmond |
blue |
blueviolet |
brown |
burlywood |
cadetblue |
chartreuse |
chocolate |
coral |
cornflowerblue |
cornsilk |
crimson |
cyan |
darkblue |
darkcyan |
darkgoldenrod |
darkgray |
darkgreen |
darkgrey |
darkkhaki |
darkmagenta |
darkolivegreen |
darkorange |
darkorchid |
darkred |
darksalmon |
darkseagreen |
darkslateblue |
darkslategray |
darkslategrey |
darkturquoise |
darkviolet |
deeppink |
deepskyblue |
dimgray |
dimgrey |
dodgerblue |
firebrick |
floralwhite |
forestgreen |
fuchsia |
gainsboro |
ghostwhite |
gold |
goldenrod |
gray |
green |
greenyellow |
grey |
honeydew |
hotpink |
indianred |
indigo |
ivory |
khaki |
lavender |
lavenderblush |
lawngreen |
lemonchiffon |
lightblue |
lightcoral |
lightcyan |
lightgoldenrodyellow |
lightgray |
lightgreen |
lightgrey |
lightpink |
lightsalmon |
lightseagreen |
lightskyblue |
lightslategray |
lightslategrey |
lightsteelblue |
lightyellow |
lime |
limegreen |
linen |
magenta |
maroon |
mediumaquamarine |
mediumblue |
mediumorchid |
mediumpurple |
mediumseagreen |
mediumslateblue |
mediumspringgreen |
mediumturquoise |
mediumvioletred |
midnightblue |
mintcream |
mistyrose |
moccasin |
navajowhite |
navy |
oldlace |
olive |
olivedrab |
orange |
orangered |
orchid |
palegoldenrod |
palegreen |
paleturquoise |
palevioletred |
papayawhip |
peachpuff |
peru |
pink |
plum |
powderblue |
purple |
rebeccapurple |
red |
rosybrown |
royalblue |
saddlebrown |
salmon |
sandybrown |
seagreen |
seashell |
sienna |
silver |
skyblue |
slateblue |
slategray |
slategrey |
snow |
springgreen |
steelblue |
tan |
teal |
thistle |
tomato |
turquoise |
violet |
wheat |
white |
whitesmoke |
yellow |
yellowgreen |
La définition CSS diffère des noms de couleur X pour les couleurs
suivantes : green
, grey
, maroon
, purple
.
Noms de couleur X
Les noms de couleur X 11 offrent un choix plus large que les noms CSS. Ils
peuvent s’employer de différentes manières.
- Un nom de couleur peut s’écrire sous la forme d’un mot composé et sans
espace auquel chaque élément prend une initiale capitalisée (par ex.
LightSlateBlue
). Il peut aussi s’exprimer sous la forme d’une
suite de mots, auquel cas les initiales ne sont pas capitalisées
(par ex. light slate blue
).
- Le gris accepte aussi bien l’orthographe « grey » que
« gray » (par ex.
DarkSlateGray
).
- Certains noms peuvent prendre un suffixe numérique, comme
LightSalmon4
.
Ils sont accessibles par la fonction Scheme x11-color
.
Les listes suivantes présentent tous les noms de couleur disponibles,
sans adjonction de suffixe numérique, puis celles acceptant un suffixe.
Noms de couleur sans suffixe numérique
Les couleurs suivantes peuvent s’utiliser sans suffixe numérique.
aliceblue |
antiquewhite |
aquamarine |
azure |
beige |
bisque |
black |
blanchedalmond |
blue |
blueviolet |
brown |
burlywood |
cadetblue |
chartreuse |
chocolate |
coral |
cornflowerblue |
cornsilk |
cyan |
darkblue |
darkcyan |
darkgoldenrod |
darkgray |
darkgreen |
darkgrey |
darkkhaki |
darkmagenta |
darkolivegreen |
darkorange |
darkorchid |
darkred |
darksalmon |
darkseagreen |
darkslateblue |
darkslategray |
darkslategrey |
darkturquoise |
darkviolet |
deeppink |
deepskyblue |
dimgray |
dimgrey |
dodgerblue |
firebrick |
floralwhite |
forestgreen |
gainsboro |
ghostwhite |
gold |
goldenrod |
gray |
green |
greenyellow |
grey |
honeydew |
hotpink |
indianred |
ivory |
khaki |
lavender |
lavenderblush |
lawngreen |
lemonchiffon |
lightblue |
lightcoral |
lightcyan |
lightgoldenrod |
lightgoldenrodyellow |
lightgray |
lightgreen |
lightgrey |
lightpink |
lightsalmon |
lightseagreen |
lightskyblue |
lightslateblue |
lightslategray |
lightslategrey |
lightsteelblue |
lightyellow |
limegreen |
linen |
magenta |
maroon |
mediumaquamarine |
mediumblue |
mediumorchid |
mediumpurple |
mediumseagreen |
mediumslateblue |
mediumspringgreen |
mediumturquoise |
mediumvioletred |
midnightblue |
mintcream |
mistyrose |
moccasin |
navajowhite |
navy |
navyblue |
oldlace |
olivedrab |
orange |
orangered |
orchid |
palegoldenrod |
palegreen |
paleturquoise |
palevioletred |
papayawhip |
peachpuff |
peru |
pink |
plum |
powderblue |
purple |
red |
rosybrown |
royalblue |
saddlebrown |
salmon |
sandybrown |
seagreen |
seashell |
sienna |
skyblue |
slateblue |
slategray |
slategrey |
snow |
springgreen |
steelblue |
tan |
thistle |
tomato |
turquoise |
violet |
violetred |
wheat |
white |
whitesmoke |
yellow |
yellowgreen |
Noms de couleur avec suffixe numérique
Les couleurs suivantes acceptent un suffixe entier numérique N
compris entre 1 et 4, allant du plus clair au plus foncé. Il est à noter
que, dans le cas de ces couleurs, la teinte toto
est identique à
toto1
.
antiquewhite1 |
antiquewhite2 |
antiquewhite3 |
antiquewhite4 |
aquamarine1 |
aquamarine2 |
aquamarine3 |
aquamarine4 |
azure1 |
azure2 |
azure3 |
azure4 |
bisque1 |
bisque2 |
bisque3 |
bisque4 |
blue1 |
blue2 |
blue3 |
blue4 |
brown1 |
brown2 |
brown3 |
brown4 |
burlywood1 |
burlywood2 |
burlywood3 |
burlywood4 |
cadetblue1 |
cadetblue2 |
cadetblue3 |
cadetblue4 |
chartreuse1 |
chartreuse2 |
chartreuse3 |
chartreuse4 |
chocolate1 |
chocolate2 |
chocolate3 |
chocolate4 |
coral1 |
coral2 |
coral3 |
coral4 |
cornsilk1 |
cornsilk2 |
cornsilk3 |
cornsilk4 |
cyan1 |
cyan2 |
cyan3 |
cyan4 |
darkgoldenrod1 |
darkgoldenrod2 |
darkgoldenrod3 |
darkgoldenrod4 |
darkolivegreen1 |
darkolivegreen2 |
darkolivegreen3 |
darkolivegreen4 |
darkorange1 |
darkorange2 |
darkorange3 |
darkorange4 |
darkorchid1 |
darkorchid2 |
darkorchid3 |
darkorchid4 |
darkseagreen1 |
darkseagreen2 |
darkseagreen3 |
darkseagreen4 |
darkslategray1 |
darkslategray2 |
darkslategray3 |
darkslategray4 |
deeppink1 |
deeppink2 |
deeppink3 |
deeppink4 |
deepskyblue1 |
deepskyblue2 |
deepskyblue3 |
deepskyblue4 |
dodgerblue1 |
dodgerblue2 |
dodgerblue3 |
dodgerblue4 |
firebrick1 |
firebrick2 |
firebrick3 |
firebrick4 |
gold1 |
gold2 |
gold3 |
gold4 |
goldenrod1 |
goldenrod2 |
goldenrod3 |
goldenrod4 |
green1 |
green2 |
green3 |
green4 |
honeydew1 |
honeydew2 |
honeydew3 |
honeydew4 |
hotpink1 |
hotpink2 |
hotpink3 |
hotpink4 |
indianred1 |
indianred2 |
indianred3 |
indianred4 |
ivory1 |
ivory2 |
ivory3 |
ivory4 |
khaki1 |
khaki2 |
khaki3 |
khaki4 |
lavenderblush1 |
lavenderblush2 |
lavenderblush3 |
lavenderblush4 |
lemonchiffon1 |
lemonchiffon2 |
lemonchiffon3 |
lemonchiffon4 |
lightblue1 |
lightblue2 |
lightblue3 |
lightblue4 |
lightcyan1 |
lightcyan2 |
lightcyan3 |
lightcyan4 |
lightgoldenrod1 |
lightgoldenrod2 |
lightgoldenrod3 |
lightgoldenrod4 |
lightpink1 |
lightpink2 |
lightpink3 |
lightpink4 |
lightsalmon1 |
lightsalmon2 |
lightsalmon3 |
lightsalmon4 |
lightskyblue1 |
lightskyblue2 |
lightskyblue3 |
lightskyblue4 |
lightsteelblue1 |
lightsteelblue2 |
lightsteelblue3 |
lightsteelblue4 |
lightyellow1 |
lightyellow2 |
lightyellow3 |
lightyellow4 |
magenta1 |
magenta2 |
magenta3 |
magenta4 |
maroon1 |
maroon2 |
maroon3 |
maroon4 |
mediumorchid1 |
mediumorchid2 |
mediumorchid3 |
mediumorchid4 |
mediumpurple1 |
mediumpurple2 |
mediumpurple3 |
mediumpurple4 |
mistyrose1 |
mistyrose2 |
mistyrose3 |
mistyrose4 |
navajowhite1 |
navajowhite2 |
navajowhite3 |
navajowhite4 |
olivedrab1 |
olivedrab2 |
olivedrab3 |
olivedrab4 |
orange1 |
orange2 |
orange3 |
orange4 |
orangered1 |
orangered2 |
orangered3 |
orangered4 |
orchid1 |
orchid2 |
orchid3 |
orchid4 |
palegreen1 |
palegreen2 |
palegreen3 |
palegreen4 |
paleturquoise1 |
paleturquoise2 |
paleturquoise3 |
paleturquoise4 |
palevioletred1 |
palevioletred2 |
palevioletred3 |
palevioletred4 |
peachpuff1 |
peachpuff2 |
peachpuff3 |
peachpuff4 |
pink1 |
pink2 |
pink3 |
pink4 |
plum1 |
plum2 |
plum3 |
plum4 |
purple1 |
purple2 |
purple3 |
purple4 |
red1 |
red2 |
red3 |
red4 |
rosybrown1 |
rosybrown2 |
rosybrown3 |
rosybrown4 |
royalblue1 |
royalblue2 |
royalblue3 |
royalblue4 |
salmon1 |
salmon2 |
salmon3 |
salmon4 |
seagreen1 |
seagreen2 |
seagreen3 |
seagreen4 |
seashell1 |
seashell2 |
seashell3 |
seashell4 |
sienna1 |
sienna2 |
sienna3 |
sienna4 |
skyblue1 |
skyblue2 |
skyblue3 |
skyblue4 |
slateblue1 |
slateblue2 |
slateblue3 |
slateblue4 |
slategray1 |
slategray2 |
slategray3 |
slategray4 |
snow1 |
snow2 |
snow3 |
snow4 |
springgreen1 |
springgreen2 |
springgreen3 |
springgreen4 |
steelblue1 |
steelblue2 |
steelblue3 |
steelblue4 |
tan1 |
tan2 |
tan3 |
tan4 |
thistle1 |
thistle2 |
thistle3 |
thistle4 |
tomato1 |
tomato2 |
tomato3 |
tomato4 |
turquoise1 |
turquoise2 |
turquoise3 |
turquoise4 |
violetred1 |
violetred2 |
violetred3 |
violetred4 |
wheat1 |
wheat2 |
wheat3 |
wheat4 |
yellow1 |
yellow2 |
yellow3 |
yellow4 |
Échelle de gris
Une échelle de gris, compris entre 0 et 100, est aussi disponible.
gray0 |
gray1 |
gray2 |
gray3 |
gray4 |
gray5 |
gray6 |
gray7 |
gray8 |
gray9 |
gray10 |
gray11 |
gray12 |
gray13 |
gray14 |
gray15 |
gray16 |
gray17 |
gray18 |
gray19 |
gray20 |
gray21 |
gray22 |
gray23 |
gray24 |
gray25 |
gray26 |
gray27 |
gray28 |
gray29 |
gray30 |
gray31 |
gray32 |
gray33 |
gray34 |
gray35 |
gray36 |
gray37 |
gray38 |
gray39 |
gray40 |
gray41 |
gray42 |
gray43 |
gray44 |
gray45 |
gray46 |
gray47 |
gray48 |
gray49 |
gray50 |
gray51 |
gray52 |
gray53 |
gray54 |
gray55 |
gray56 |
gray57 |
gray58 |
gray59 |
gray60 |
gray61 |
gray62 |
gray63 |
gray64 |
gray65 |
gray66 |
gray67 |
gray68 |
gray69 |
gray70 |
gray71 |
gray72 |
gray73 |
gray74 |
gray75 |
gray76 |
gray77 |
gray78 |
gray79 |
gray80 |
gray81 |
gray82 |
gray83 |
gray84 |
gray85 |
gray86 |
gray87 |
gray88 |
gray89 |
gray90 |
gray91 |
gray92 |
gray93 |
gray94 |
gray95 |
gray96 |
gray97 |
gray98 |
gray99 |
gray100 |
Couleurs in-ambiguës
La fonction Scheme universal-color
procure un
jeu de huit couleurs conçu
pour lever toute ambiquïté aux personnes souffrant de daltonisme.
black |
orange |
skyblue |
bluegreen |
yellow |
blue |
vermillion |
redpurple |