Re: Specifying bright (bold) vs. normal colors in 16-Color terminals based on background brightness

Eli Zaretskii <[email protected]> Tue, 14 Jul 2026 16:43:36 +0300
Newsgroups gmane.emacs.help
Message-ID <[email protected]>
> Date: Tue, 14 Jul 2026 13:17:28 +0000
> From: Heime <[email protected]>
> 
> How does one specify the colour for 16-colour terminals to
> distinguish between bright (bold) or normal?
> 
>      (((class color) (min-colors 16) (background dark))
>          :foreground "red")
>      (((class color) (min-colors 16) (background light))
>          :foreground "green")

Use the appropriate color names, like "lightred" or "brightgreen".