Shiny Language Reference
Language Reference > Panel Functions
setpanelbgcol
setpanelbgcol(int RGBColour);
Sets the background colour of the display panel
SETPANELBGCOL immediately sets the background colour of the display panel. The background colour is drawn under the background image, if any. If the panel has been set to have a transparent background (using SETPANELBGTRANSP) this statement has no visual effect, but updates the colourkey colour.
Parameters
RGBColour
The new colour for the background, specified as an RGB value packed to an integer. Use the RGB statement to create this value.
Return Value
None
Example Code
// Set the panel bg to white
setpanelbgcol(RGB(255, 255, 255));