bgcolor
Description
Set the background color of the patcher window. The bgcolor object's functionality is equivalent to a message sent to thispatcher.
Examples

Arguments
red [int]
Optional
A number in the range 0-255 sets the red value for the background color of the patcher.
green [int]
Optional
A number in the range 0-255 sets the green value for the background color of the patcher.
blue [int]
Optional
A number in the range 0-255 sets the blue value for the background color of the patcher.
Attributes
Common Box Attributes
Messages
bang
will reset the patcher's background to the RGB values most currently received byint
Arguments
red
[int]
A number in the range 0-255 sets the red value of the patcher background color.
(inlet1)
Arguments
green
[int]
A number in the range 0-255 sets the green value of the patcher background color.
(inlet2)
Arguments
blue
[int]
A number in the range 0-255 sets the blue value of the patcher background color.
list
Arguments
red
[int]
green [int]
blue [int]
green [int]
blue [int]
A list of three numbers in the range 0-255 sets the background color of the patcher in RGB format.
set
Arguments
red
[int]
green [int]
blue [int]
green [int]
blue [int]
The word
followed by a list of three numbers in the range 0-255 sets the background color of the patcher in RGB format. Output
(Visual)
The background color of the patcher is set.
See Also
Name | Description |
---|---|
thispatcher |