View Single Post
Old 04-27-2009, 10:04 PM   #15
Jim Sachs
Developer
 
Jim Sachs's Avatar
 
Join Date: Dec 2000

Location: Southern Oregon
Posts: 9,710
This seems incredibly simple to me, but for those who don't think in hexidecimal -

Hex is simple, instead of each column only being able to contain 0-9 as in decimal math, there are sixteen possible values per digit: 0,1,2,3,4,5,6,7,8,9,A,B,C,D,E,F.

There are four 2-digit components to a color, like this: FF 24 36 89. The first pair is the alpha component, and must always be FF (full on), or the background will be invisible.

Then comes the red component, green component and blue component, each with a value of 0 to FF (255). So, FF 00 00 FF would be full blue. FF 88 88 88 would be medium gray, etc. You don't really need a chart, you can just tell from the numbers what color you'll get.
Jim Sachs
Creator of SereneScreen Aquarium
Jim Sachs is offline   Reply With Quote