Color....
Posted: Tue May 25, 2004 8:34 am
Colors.... Terrible things. I was considering building a Windows program to let you choose color, blinking, ect and then give you an equivalent hexadecimal value, but now that I look into it I realize I don't understand how the attribute byte is determined.
I read somewhere that the following is true.
B F F F I B B B
Where B is blinking.
F is foreground
I is intensity.
B is background
But when I test out a value such as
11110000
I get a nonblinking black text on white background. What's wrong?
Could I get some proven examples of some colors?
Brett
I read somewhere that the following is true.
B F F F I B B B
Where B is blinking.
F is foreground
I is intensity.
B is background
But when I test out a value such as
11110000
I get a nonblinking black text on white background. What's wrong?
Could I get some proven examples of some colors?
Brett