Color numbers |
|
You can specify exactly what color you want by specifying the three primary colors: |
red
#ff0000 lime
#00ff00 blue
#0000ff |
Here are 16 colors, with their color numbers also shown. |
black
#000000 silver
#c0c0c0 gray
#808080 white
#ffffff maroon
#800000 red
#ff0000 purple
#800080 fuchsia
#ff00ff green
#008000 lime
#00ff00 olive
#808000 yellow
#ffff00 navy
#000080 blue
#0000ff teal
#008080 aqua
#00ffff |
If you want a darker shade, use a smaller number |
blue
#0000ff #0000cc
#000099
#000066
#000033
black
#000000 yellow
#ffff00 #cccc00
#999900
#666600
#333300
black
#000000 |
When I want a particular color, I may just use trial and error. |
blue
#0000ff #c0c0ff
#a0a0ff
#b0b0ff
#b0b8ff
|
There are some other ways to specify color, using percent, or only one hexadecimal digit for each color, or decimal numbers. The way we did it here with the number sign and 6 hexadecimal digits always works well. |
|