`plscolbga`: Set the background color by 8-bit RGB value and PLFLT alpha transparency value.
Prev | Chapter 17. The Common API for PLplot | Next

#### `plscolbga`: Set the background color by 8-bit RGB value and PLFLT alpha transparency value.

`plscolbga (` | r ,
| g ,
| b ,
| alpha `)`;

Set the background color (color 0 in cmap0) by 8-bit RGB value and PLFLT alpha transparency value (see the section called “Color Map0”).

`r` (``PLINT``, input)

  Unsigned 8-bit integer (0-255) representing the degree of red in the color.

`g` (``PLINT``, input)

  Unsigned 8-bit integer (0-255) representing the degree of green in the color.

`b` (``PLINT``, input)

  Unsigned 8-bit integer (0-255) representing the degree of blue in the color.

`alpha` (``PLFLT``, input)

  Value of the alpha transparency in the range (0.0-1.0).

This function is used in example 31.

Prev | Up | Next
`plscolbg`: Set the background color by 8-bit RGB value | Home | `plscolor`: Used to globally turn color output on/off