rgb()

Function group Execute on client Platform(s)
General YES All

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.

See also rgba().

Example

Do  $cinst.$objs.FIELD1.$forecolor.$assign(rgb(0,178,178))
# changes the object forecolor to green