I found more information on the IBM CGA color kludge on low-color-depth devices.
At 2025-06-03T22:08:31-0500, G. Branden Robinson wrote: > At 2025-05-26T12:13:13+0100, Deri wrote: > > There is a little wrinkle in the ointment (which is why I > > implemented a separate flag to use 24 bit colours). Tty.tmac > > currently defines "yellow" as rgb #ffff00 which is correct in rgb > > terms, but if you use \m[yellow] the text or equivalent background > > is actually a brown, because there are only 8 colours in 4 bit mode, > > the other 8 colours are "bright" versions of the 8 colours, and > > grotty reserves the bright versions for the bold font, which means > > you only get the true yellow using the bold font, which in turn > > means there is no legacy way of getting the true "bright" yellow > > background. > > What device are you using to test with? What you are describing > sounds exactly like an IBM CGA compatibility kludge. > > https://en.wikipedia.org/wiki/Color_Graphics_Adapter#With_an_RGBI_monitor Here's an article that goes into considerably more...depth, if you will. https://nerdlypleasures.blogspot.com/2023/03/the-saga-of-color-brown-in-early-years.html Regards, Branden
signature.asc
Description: PGP signature