Support for 16 million colors

Bug #1202564 reported by Anton Kochkov on 2013-07-18
This bug affects 1 person
Affects Status Importance Assigned to Milestone
Gnome Virtual Terminal Emulator
Fix Released

Bug Description

Here's a test case

printf "\x1b[38;2;255;100;0mTRUECOLOR\x1b[0m\n"

According to Wikipedia[1], this is only supported by xterm and konsole.

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 another terminals discussions:

st (from suckless) -
urxvt -
konsole (already fixed)
mlterm -

description: updated
Changed in vte:
importance: Unknown → Wishlist
status: Unknown → New
David Gómez (dabisu) on 2013-11-23
Changed in sakura:
importance: Undecided → Wishlist
status: New → Confirmed
Changed in vte:
status: New → Confirmed
Egmont Koblinger (egmont-gmail) wrote :

Implemented in vte git, will be released in vte-0.35.1

Changed in vte:
status: Confirmed → Fix Released
David Gómez (dabisu) on 2014-08-11
Changed in sakura:
status: Confirmed → Fix Released
To post a comment you must log in.
This report contains Public information  Edit
Everyone can see this information.

Other bug subscribers

Remote bug watches

Bug watches keep track of this bug in other bug trackers.