A Bit About Colors

  1. Sometimes the color choices in a program are not quite what you want so you have to improvise. Colors are indicated by a series of numbers and letters, 00-9f are the darker shades and a0-ff are the lighter shades. Each color is made up of 3 groups of digits. Group 1 is Red, Group 2 is Green and Group 3 is Blue. So, if you want the normal red, you pick the highest shade for it and the lowest for the other two colors - ff0000. The same goes for green and blue - 00ff00 and 0000ff. If you want a darker shade, you use a lower number for the color aa0000 is a light burgundy-type color and 990000 is a bit darker. The lower the number, the darker the red until you get to black - 000000. If you want pink, use the the palest shade of red PLUS medium but equal shades of the other two colors - ffaaaa. the higher the last two colors, the paler the pink until you get to white - ffffff. To get purple, yellow or orange, you mix equal amounts of the main colors, red and blue for purple, red and green for orange, green and blue for yellow - ff00ff is a nice medium purple. To tell your browser that this seemingly random set of digits is a color, we start it with the pound sign (#). NOTE that the character sequences can actually be 00, 01, 02 ... 9d, 9e, 9f or a0, a1, a2 ... f7, f8, f9 - any combination will produce a color. Care to guess how many possible colors there are? The formula is 16 x 16 x 16 x 16 x 16 x 16 and it equals 16,777,216. What color will I get if I use #456789 or #abcdef? #456789, #abcdef. You get blues because the last two digits are HIGHER than the others.
  2. You might also try Google when you want a specific color or color group. Hey Google, what are the html codes for desert camo?