I am working on some graphics in C++, and I have an enum of common colors. I think basing this off of QBasic's first 15 colors would be pretty handy.
I know that the colors are laid out in four bits: [brightness][red][green][blue]. However, I do not recall what the RGB (in 0xrrggbb) values for each of the colors are.
I did find one or two sources in google, but the codes just don't seem right. I remember them differently. Hopefully someone on here remembers right off how the colors are laid out.
|Response Title||Author and Date|
|This will get the current RGB settings to an array||on Jun 19|
|Thanks! I guess those sources were right. Well, here are the values:||on Jun 19|
|BTW, the leading byte is not for brightness||on Jun 19|
|your numbers are slightly off...||on Jul 14|
|Re: your numbers are slightly off...||Vince on Dec 10|
|For color intensity values 0 to 63 multiply by 4 for 0 to 255||on Dec 10|