Terminal.setColors

palette specifies the new values for the 256 palette colors: 8 standard colors, their 8 bright counterparts, 6x6x6 color cube, and 24 grayscale colors. Omitted entries will default to a hardcoded value.

palette_size must be 0, 8, 16, 232 or 256.

If foreground is null and palette_size is greater than 0, the new foreground color is taken from palette[7]. If background is null and palette_size is greater than 0, the new background color is taken from palette[0].

class Terminal
void
setColors

Parameters

foreground gdk.rgba.RGBA

the new foreground color, or null

background gdk.rgba.RGBA

the new background color, or null

palette gdk.rgba.RGBA[]

the color palette