Search code examples
gtkcolor-schemevte

What is the color order for vte_terminal_set_colors palette?


I want to implement Solarized color palette for a VTE Terminal. In the GTK+ documentation I can find the method how to set all colors. But there is no info about the color order in the palette:

http://developer.gnome.org/vte/unstable/VteTerminal.html#vte-terminal-set-colors

Where can I find it? I tried the order from the Solarized web page and it apparently does not match:

http://ethanschoonover.com/solarized

Thanks!


Solution

  • I have found the right order.

    https://github.com/altercation/solarized/tree/master/xresources

    See colorN entries and pair them with the termcolor column above the example. You get them in right order. Not ideal, but works ;-)