これは背景色をaliceblue、フォントの色をdodgerblueという指定にしています。 16進数だといまいちどんな色なのか分かりづらいですよね。
そこで、色の名前を直接指定してみます。
今回は様々な色名を紹介しておきますので、お役立て下さい。
aliceblue |
peachpuff |
antiquewhite |
floralwhite |
aquamarine |
forestgreen |
azure |
gainsboro |
beige |
powderblue |
bisque |
gold |
blanchedalmond |
goldennord |
salmon |
greenyellow |
burlywood |
honeydew |
cadeblue |
tan |
seashell |
indianred |
snow |
thistle |
coral |
ivory |
cornsilk |
lavender |
crimson |
linen |
deeppink |
magenta |
orchid |
turquoise |
dodgerblue |
wheat |
cyan |
dimgray |
lavenderblush |
maroon |
orangered |
darkblue |
lawngreen |
mediumaquamarine |
sienna |
aqua |
darkcyan |
firebrick |
lemonchiffon |
mediumblue |
palegoldenrod |
silver |
darkgoldenrod |
lightblue |
mediumorchid |
palegreen |
skyblue |
darkgray |
lightcoral |
mediumpurple |
paleturquoise |
slateblue |
beige |
darkgreen |
fuchsia |
lightcyan |
mediumseagreen |
palevioletred |
slategray |
darkkhaki |
lightgoldenrodyellow |
mediumslateblue |
papayawhip |
black |
darkmagenta |
ghostwhite |
lightgreen |
mediumspringgreen |
springgreen |
darkolivegreen |
lightgrey |
mediumturquoise |
peru |
steelblue |
blue |
darkorange |
goldenrod |
lightpink |
mediumvioletred |
pink |
blueviolet |
darkorchid |
gray |
lightsalmon |
midnightblue |
plum |
teal |
brown |
darkred |
green |
lightseagreen |
mintcream |
darksalmon |
lightskyblue |
mistyrose |
purple |
tomato |
cadetblue |
darkseagreen |
lightslategray |
moccasin |
red |
chartreuse |
darkslateblue |
hotpink |
lightsteelblue |
navajowhite |
rosybrown |
violet |
chocolate |
darkslategray |
lightyellow |
navy |
royalblue |
darkturquoise |
indigo |
lime |
oldlace |
saddlebrown |
white |
cornflowerblue |
darkviolet |
limegreen |
olive |
whitesmoke |
khaki |
olivedrab |
sandybrown |
yellow |
deepskyblue |
lavender |
orange |
seagreen |
yellowgreen |
|