131501Re: max colors in text based terminals
- Jun 4, 2012On 05/06/12 02:35, Thomas E. Dickey wrote:
> On Jun 4, 4:00 pm, Chris Jones <cjns1...@...> wrote:It's never 16M * 16M * 16M, which would be a bedazzling 4.7e21, or 2^72
>> All the same, I'd be curious to know what the Konsole developers had in
>> mind when they implemented 16M colors support .
> konsole implements the xterm 256-color controls (256 * 256 * 256).
> It's not 16M * 16M * 16M.
colors. 16M is 256 * 256 * 256 (256 red times 256 green times 256 blue,
or #000000 to #FFFFFF), and that's what most modern GUIs support
(including X11, Windows, Cocoa, and also on a different level the HTML
and CSS used by your browser). konsole implements the 256 colors (not
256 cubed but 256 /in toto/) of xterm-256 terminals, by means of a
palette which includes the 6 * 6 * 6 = 216 "safe" colors (red 00 to FF
in steps of 33, green 00 to FF in steps of 33, blue 00 to FF in steps of
33), plus some additional "greyscale" colors (additional shades of
grey), and I think that the 16 "lowest" colors of the palette are
downward-compatible to the colors of 16-color terminals (which use one
bit each for bold, red, green and blue, 1=on, 0=off).
Basic is a high level languish.
APL is a high level anguish.
You received this message from the "vim_use" maillist.
Do not top-post! Type your reply below the text you are replying to.
For more information, visit http://www.vim.org/maillist.php
- << Previous post in topic Next post in topic >>