Operator Scope of Action:
Operator First Added:
Creates a Color type: its arguments are integers ranging from 0 to 255 or an expression or attribute reference resolving to a number in this range. The value set is in hex form. For example:
$MyColor = rgb(255,0,0); sets a value of "#ff0000"