Re: 6 hexadecimal digit colours in limited-colour terminals
Eli Zaretskii <[email protected]> Wed, 15 Jul 2026 15:26:52 +0300
| Newsgroups | gmane.emacs.help |
|---|---|
| Message-ID | <[email protected]> |
> Date: Wed, 15 Jul 2026 11:51:15 +0000 > From: Heime <[email protected]> > Cc: [email protected] > > On Wednesday, July 15th, 2026 at 11:45 PM, Eli Zaretskii <[email protected]> wrote: > > > > Date: Tue, 14 Jul 2026 23:22:27 +0000 > > > From: Heime <[email protected]> > > > > > > I have seen that true colour palette uses the 6 digit hexadecimal code > > > #RRGGBB for colour specification. Thusly the 6 digit code is incompatible > > > for 8, 16, and 88 colour terminals. > > > > Why incompatible? > > > > > How is it then that colour specification for 16-colour > > > terminals still use hex values? Aren't they supposed to use > > > colour names instead? > > > > Emacs is capable of converting the names into hex values and vice > > versa. So you can use either one. > > Thusly, Emacs will accept true colour codes, but convert to nearest > colour specified by 16 colour terminal? Yes.