slang-users mailing list

[2014 Date Index] [2014 Thread Index] [Other years]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]

[slang-users] Support for True Color (16 millions colors)

Now more terminals bring support for 16 million colors (see references below).

Here's a test case for terminal:

printf "\x1b[38;2;255;100;

It's a common confusion about terminal colors... Actually we have this:

plain ascii
ansi escape codes (16 color codes with bold/italic and background)
256 color palette (216 colors+16gray + ansi) (colors are 24bit)
24bit true color (8*8*8 colors (aka 16 milion)

The 256 color palete is configured at start, and it's a 6*6*6 cube of
colors, each of them defined as a 24bit (8*8*8 rgb) color.

This means that current support can only display 256 *different*
colors in the terminal, while truecolor means that you can display 16
milion different colors at the same time.

Truecolor escape codes doesnt uses a color palete. It just specifies
the color itself.


Here is terminals discussions:

Now supporting truecolor:

st (from suckless) -
konsole (already fixed)
all libvte based terminals:
Also iterm2 have support for truecolor.

Not supporting truecolor:

urxvt -

Best regards,
Anton Kochkov.

[2014 date index] [2014 thread index]
[Thread Prev] [Thread Next]      [Date Prev] [Date Next]