Re: 6 hexadecimal digit colours in limited-colour terminals

Eli Zaretskii <[email protected]> Wed, 15 Jul 2026 14:45:11 +0300
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
> 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.