3 ms·
The 2-bit palettes of CGA were simply colors 2/4/6 and 3/5/7 of the text mode palette, where bit 2 is red, bit 1 is green and bit 0 is blue. The fourth color (e
by bonzini 7y ago
The 2-bit palettes of CGA were simply colors 2/4/6 and 3/5/7 of the text mode palette, where bit 2 is red, bit 1 is green and bit 0 is blue. The fourth color (encoded as 00) was the background and could be chosen from any of the 16 text colors.
(In addition there was an "undocumented" palette consisting of colors 3/4/7 plus the background color).