Script functions reference > Script functions in alphabetical order > R > RGBcolor

RGBcolor
Syntax
RGBcolor(red,green,blue);
red
green
blue
Description
Specifies an RGB color. For example, the color of a font or an area.
Returns
An RGB color, defined in an internal StreamServe format.
Example
if ($country="ENG")
$color1=RGBcolor(255,0,0);
else
$color1=RGBcolor(0,0,255);
OpenText StreamServe 5.6 Updated: 2013-03-01