rgb()

Function groupExecute on clientPlatform(s)
GeneralYESAll

Syntax

rgb(red,green,blue)

Description

Returns the RGB value formed from the 3 supplied color components (each of which must be 0-255).

The three arguments red, green, blue correspond to the RGB value of the desired color; each must be an integer in the range 0-255. For example, yellow has an RGB value of 255,255,0.

Example

Do
 
$cinst.$objs
.
FIELD1
.
$forecolor.$assign
(
rgb
(0,178,178))

# changes the object forecolor to green