1/29/2026 at 4:54:21 PM
As long as CLI programs stick to the 8 or 16 standard colors and refrain from setting background colors (inverse mode is fine), as well as from explicitly setting white or black as text color, everyone can reasonably configure their terminal colors so that everything is readable.When going beyond that, the colors really need to be configurable on the application.
by layer8
1/29/2026 at 5:57:24 PM
> refrain from setting background colorsThat's the thing though, setting bg color opens up a lot of options, and constraining to invert is not sufficient in my opinion.
by JohnLeitch
1/29/2026 at 11:33:23 PM
Sticking to the \x1b[4X background color is probably safe as that can be tweaked by terminal color palettes. It’s when you use the 256 or RGB \x1b codes that it becomes an issue. Ok for foreground.by reactordev
1/29/2026 at 8:20:55 PM
That’s fine, but please make the colors configurable then.For example like Mutt does: http://www.mutt.org/doc/manual/#color
by layer8
1/29/2026 at 6:13:12 PM
> constraining to invert is not sufficient in my opinionEh. Doing green/red text color with default background, maybe inverted works amazing for me. In fact, I'd say that every sensible colour scheme for a terminal should have as the default foreground/background colours something that is more or less contrasting against every other explicitly named colour, including black and white (I personally have #212121 on #EEEEEE).
by Joker_vD
1/29/2026 at 8:06:10 PM
Configurable within the application... at runtime.I want to be able to switch existing terminals with existing applications between themes.
by Arch-TK