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 08:58:13 +0100 (CET)

Jan 28, 2022, 06:47 by help-gnu-emacs@gnu.org:

>>>> You are thinking about this in the wrong direction, AFAIU.
>>>> On text-mode terminals, colors are just indices into
>>>> a table, and the table itself is not exposed. How the
>>>> indices are mapped to the actual colors is entirely up to
>>>> the terminal emulator. So it is not useful to think about
>>>> these colors in terms of bots per pixel.
>>>>
>>>
>>> I could be mistaking the interpretation of the hex-codes to
>>> the number of colours available.
>>>
>
> There are
>
>  $ echo $(( (16**2)**3 ))
>  16 777 216
>
> to choose the 16 (or 88 in your case perhaps) from.
>

I could then come up with a hex-code where the colour in not  supported.


> -- 
> underground experts united
> https://dataswamp.org/~incal
>




reply via email to

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