HTMLで色を表現するには光の三原色であるRGB(Red,Green,Blue)を16進数で指定します。
例えば赤だったら#ff0000、緑なら#00ff00、青なら#0000ffです。解るかな、赤が#ff0000、緑が#00ff00、青が#0000ffです。#の後の6桁の16進数で、頭2桁が赤の濃さ、中2桁が緑の濃さ、尻2桁が青の濃さになります。で、#000000なら黒、#ffffffなら白となる訳です。
ゴチャゴチャ書いても解り難いと思うんで、バーっと見本を出します。
#000000 #000022 #000044 #000088 #0000aa #0000cc #0000ff #002200 #002222 #002244 #002288 #0022aa #0022cc #0022ff #004400 #004422 #004444 #004488 #0044aa #0044cc #0044ff #008800 #008822 #008844 #008888 #0088aa #0088cc #0088ff #00aa00 #00aa22 #00aa44 #00aa88 #00aaaa #00aacc #00aaff #00cc00 #00cc22 #00cc44 #00cc88 #00ccaa #00cccc #00ccff #00ff00 #00ff22 #00ff44 #00ff88 #00ffaa #00ffcc #00ffff |
#220000 #220022 #220044 #220088 #2200aa #2200cc #2200ff #222200 #222222 #222244 #222288 #2222aa #2222cc #2222ff #224400 #224422 #224444 #224488 #2244aa #2244cc #2244ff #228800 #228822 #228844 #228888 #2288aa #2288cc #2288ff #22aa00 #22aa22 #22aa44 #22aa88 #22aaaa #22aacc #22aaff #22cc00 #22cc22 #22cc44 #22cc88 #22ccaa #22cccc #22ccff #22ff00 #22ff22 #22ff44 #22ff88 #22ffaa #22ffcc #22ffff |
#440000 #440022 #440044 #440088 #4400aa #4400cc #4400ff #442200 #442222 #442244 #442288 #4422aa #4422cc #4422ff #444400 #444422 #444444 #444488 #4444aa #4444cc #4444ff #448800 #448822 #448844 #448888 #4488aa #4488cc #4488ff #44aa00 #44aa22 #44aa44 #44aa88 #44aaaa #44aacc #44aaff #44cc00 #44cc22 #44cc44 #44cc88 #44ccaa #44cccc #44ccff #44ff00 #44ff22 #44ff44 #44ff88 #44ffaa #44ffcc #44ffff |
#880000 #880022 #880044 #880088 #8800aa #8800cc #8800ff #882200 #882222 #882244 #882288 #8822aa #8822cc #8822ff #884400 #884422 #884444 #884488 #8844aa #8844cc #8844ff #888800 #888822 #888844 #888888 #8888aa #8888cc #8888ff #88aa00 #88aa22 #88aa44 #88aa88 #88aaaa #88aacc #88aaff #88cc00 #88cc22 #88cc44 #88cc88 #88ccaa #88cccc #88ccff #88ff00 #88ff22 #88ff44 #88ff88 #88ffaa #88ffcc #88ffff |
#aa0000 #aa0022 #aa0044 #aa0088 #aa00aa #aa00cc #aa00ff #aa2200 #aa2222 #aa2244 #aa2288 #aa22aa #aa22cc #aa22ff #aa4400 #aa4422 #aa4444 #aa4488 #aa44aa #aa44cc #aa44ff #aa8800 #aa8822 #aa8844 #aa8888 #aa88aa #aa88cc #aa88ff #aaaa00 #aaaa22 #aaaa44 #aaaa88 #aaaaaa #aaaacc #aaaaff #aacc00 #aacc22 #aacc44 #aacc88 #aaccaa #aacccc #aaccff #aaff00 #aaff22 #aaff44 #aaff88 #aaffaa #aaffcc #aaffff |
#cc0000 #cc0022 #cc0044 #cc0088 #cc00aa #cc00cc #cc00ff #cc2200 #cc2222 #cc2244 #cc2288 #cc22aa #cc22cc #cc22ff #cc4400 #cc4422 #cc4444 #cc4488 #cc44aa #cc44cc #cc44ff #cc8800 #cc8822 #cc8844 #cc8888 #cc88aa #cc88cc #cc88ff #ccaa00 #ccaa22 #ccaa44 #ccaa88 #ccaaaa #ccaacc #ccaaff #cccc00 #cccc22 #cccc44 #cccc88 #ccccaa #cccccc #ccccff #ccff00 #ccff22 #ccff44 #ccff88 #ccffaa #ccffcc #ccffff |
#ff0000 #ff0022 #ff0044 #ff0088 #ff00aa #ff00cc #ff00ff #ff2200 #ff2222 #ff2244 #ff2288 #ff22aa #ff22cc #ff22ff #ff4400 #ff4422 #ff4444 #ff4488 #ff44aa #ff44cc #ff44ff #ff8800 #ff8822 #ff8844 #ff8888 #ff88aa #ff88cc #ff88ff #ffaa00 #ffaa22 #ffaa44 #ffaa88 #ffaaaa #ffaacc #ffaaff #ffcc00 #ffcc22 #ffcc44 #ffcc88 #ffccaa #ffcccc #ffccff #ffff00 #ffff22 #ffff44 #ffff88 #ffffaa #ffffcc #ffffff |
★Menu★ |
★Home★ |