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
foreground | the new foreground color, or null |
background | the new background color, or null |
palette | the color palette |