* On 2025 03 Jun 22:09 -0500, G. Branden Robinson wrote: > I think "yes", and I'd go further; since we have only one set of > predefined color names, they're all in the same color space (RGB), and > they all have the same origin (the X11 color list, which has become a > sort of de facto standard in computing even outside of the Unix > ecosystem),
I'm sure you're aware of the W3C Web colors as well: https://en.wikipedia.org/wiki/Web_colors Which the Wiki says are descended from X11 colors: https://en.wikipedia.org/wiki/X11_color_names It does note, in part: "Color names are not standardized by Xlib or the X11 protocol. The list does not show continuity either in selected color values or in color names, and some color triplets have multiple names. Despite this, graphic designers and others got used to them, making it practically impossible to introduce a different list." In light of that it would seem to me that Web Colors might be the better choice given the interest in converting roff to HTML (particularly man pages) and PDF. All of such careful engineering is easily destroyed by the terminal emulator. I went a good ways down that rabbit hole some years back: https://www.n0nb.us/blog/2020/02/tinkering-in-the-terminal-with-tput/ https://www.n0nb.us/blog/2020/02/coping-with-color-on-the-linux-console-and-xterm-and-friends/ The first link ended with my unifying the look of man pages in GNOME Terminal and the Linux Console as closely as possible. The second deals with unifying the various terminal emulators, and even the Linux Console in the case of Xubuntu to my interpretation of the "standard VGA" color set. My conclusion is that no matter how carefully a developer chooses color for an application, they can be rendered all but unreadable by a terminal emulator's color scheme and there is apparently no feedback of this to the application. Be that as it may, I think man pages would benefit greatly from an expanded color scheme. For me a starting point would be "base16-colors.vim" theme from the "tinted-vim" project: https://github.com/tinted-theming/tinted-vim/blob/main/colors/base16-colors.vim - Nate -- "The optimist proclaims that we live in the best of all possible worlds. The pessimist fears this is true." Web: https://www.n0nb.us Projects: https://github.com/N0NB GPG fingerprint: 82D6 4F6B 0E67 CD41 F689 BBA6 FB2C 5130 D55A 8819
signature.asc
Description: PGP signature