RGB()

From Recital Documentation Wiki
Jump to: navigation, search

Purpose

Function to return a single color value from a set of red, green, and blue color components


Syntax

RGB(<expN1>, <expN2>, <expN3>)


See Also

SET COLOR


Description

The RGB() function returns a single numeric color value from a set of red (<expN1>), green (<expN2>), and blue (<expN3>) color components.


Example

? rgb(255,0,255)                                                              
  16711935


Products

Recital, Recital Server