Closed habamax closed 2 years ago
I like the idea.
The "xterm palette" and the "X11" palette are not only different but also mostly incompatible. Therefore I find it risky and misleading to assign X11 names to xterm indices. For example, X11 LightCyan3 is #B4CDCD but in your screenshot it is shoehorned into xterm as #AFD7D7, which is close, yes, but not equal. Basically, xterm colors don't have names.
If we provide a color conversion table, and I think we can do it without relying on a third party plugin, we must make sure that it is both accurate and portable.
FWIW, https://upload.wikimedia.org/wikipedia/commons/1/15/Xterm_256color_chart.svg is the reference I use for color conversion between 256c and GUI.
yeah, I can use that wikimedia source (removing the X11 names) just plain 256->rgb
Do you think it would be a good idea to add list of xterm256 colors into
doc/
dir so it would be avail with:h xterm256
?