help-gnu-emacs
[Top][All Lists]
Advanced

[Date Prev][Date Next][Thread Prev][Thread Next][Date Index][Thread Index]

min-colors 88


From: fatiparty
Subject: min-colors 88
Date: Fri, 28 Jan 2022 12:54:49 +0100 (CET)

Jan 28, 2022, 23:36 by eliz@gnu.org:

>> Date: Fri, 28 Jan 2022 09:59:34 +0100 (CET)
>> From: fatiparty@tutanota.com
>> Cc: Help Gnu Emacs <help-gnu-emacs@gnu.org>
>>
>> Jan 28, 2022, 20:07 by eliz@gnu.org:
>>
>> >> I could then come up with a hex-code where the colour in not  supported.
>> >>
>> >
>> > There's no such thing when colors on TTY frames are considered:
>> > Emacs automatically and transparently finds the closest color that is
>> > supported, and uses that.
>> >
>> For 8-Bit  (2^8=256) there are defined 16 (Basic) + 6×6×6 (Cube) + 24 (Grey)
>>
>> What's the situation for 24-bit RGB Codes?
>>
>
> What do you mean by "defined" in this context?
>

For instance I can invent a code #d166ff
 ( ((class color) (min-colors 88) (background dark))
       :foreground "#d166ff" )

That would not mean that #d166ff actually exists for 256 colour availability.


> The colors "defined" for TTY frames are set up in tty-colors.el, and
> they don't depend on the number of colors that the terminal actually
> supports.
>




reply via email to

[Prev in Thread] Current Thread [Next in Thread]