3

I'm wanting to run 24bit true color within the terminal. How may I do this?

I've ran the command apt-cache show gnome-shell | grep Version and it throws out 3.18.4-0ubuntu3

3
  • You don't. Terminals only support 16 colors.
    – psusi
    May 9, 2016 at 23:25
  • @psusi That's so much not true. Nowadays pretty much all terminal emulators support 256 colors, and many of them support 16 million (aka 24bit true colors) as well.
    – egmont
    Oct 18, 2016 at 21:21
  • @egmont, interesting... I didn't know there was an ANSI escape sequence to specify more than 4 bits of background and 4 bits of foreground color.
    – psusi
    Oct 20, 2016 at 23:17

1 Answer 1

3

GNOME Terminal supports true color in 16.04.

Source: https://gist.github.com/XVilka/8346728

Trying out the test code from that gist:

gnome-terminal with the zsh shell showcasing its support for 24 bit colors; courtesy of Ask Ubuntu user grooveplex

1
  • @grooveplex I'm mildly curious as to what's "more generic" in this. My screenshot also uses GNOME Terminal and zsh. I just set the prompt to a barebones $.
    – muru
    Jun 24, 2016 at 19:50

You must log in to answer this question.

Not the answer you're looking for? Browse other questions tagged .