BACKGROUND_COLOR

Change the drawing window background color.

Parameters

Run this command with one parameter, three parameters, or no parameters.

With one parameter

Parameter number Description Accepted values Optional
1 Color index in the active code table color palette 0–255 Yes

With three parameters

Parameter number Description Accepted values Optional
1 Red Number from 0 to 255 specifying the amount of red No
2 Green Number from 0 to 255 specifying the amount of green No
3 Blue Number from 0 to 255 specifying the amount of blue No

Without parameters

Without parameters, BACKGROUND_COLOR displays Select color with the active code table palette. Choosing a palette color assigns that entry's red, green, and blue (RGB) components to the background instead of its color index: later palette changes do not affect the background. The dialog box does not show opacity (A), because the background is always opaque. Without a loaded code table, the dialog box has no palette. Click OK or press Enter to apply the values typed in the R, G, and B boxes without clicking the color. The hexadecimal value box is read-only.

Notes

Negative values are converted to absolute values, and values greater than 255 are limited to 255. With two parameters or more than three, the command plays an error sound and does not change the color.

Video

Command characteristics

Variable type Numeric
Repeats automatically No
Menu option This command has no associated menu option
Toolbar This command has no associated toolbar button
Extension DigiNG.OrdenesStandard.dll
Implementation Native
Related variables No related variables
Internal name