Terminal.setColors

void setColors(gdk.rgba.RGBA foreground, gdk.rgba.RGBA background, gdk.rgba.RGBA[] palette = null)

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].

Parameters

foregroundthe new foreground color, or null
backgroundthe new background color, or null
palettethe color palette