Difference between revisions of "RGB()"

From Lianjapedia
Jump to: navigation, search
m (1 revision)
Line 1: Line 1:
 
==Purpose==
 
==Purpose==
 
Function to return a single color value from a set of red, green, and blue color components
 
Function to return a single color value from a set of red, green, and blue color components
 
  
 
==Syntax==
 
==Syntax==
 
RGB(<expN1>, <expN2>, <expN3>)
 
RGB(<expN1>, <expN2>, <expN3>)
 
  
 
==See Also==
 
==See Also==
[[SET COLOR]]
+
[[GETCOLOR()]]
 
+
  
 
==Description==
 
==Description==
 
The RGB() function returns a single numeric color value from a set of red (<expN1>), green (<expN2>), and blue (<expN3>) color components.
 
The RGB() function returns a single numeric color value from a set of red (<expN1>), green (<expN2>), and blue (<expN3>) color components.
 
  
 
==Example==
 
==Example==
Line 21: Line 17:
 
</code>
 
</code>
  
 
==Products==
 
Recital, Recital Server
 
 
[[Category:Documentation]]
 
[[Category:Documentation]]
 
[[Category:Functions]]
 
[[Category:Functions]]
 
[[Category:Numeric Data]]
 
[[Category:Numeric Data]]
 
[[Category:Numeric Data Functions]]
 
[[Category:Numeric Data Functions]]

Revision as of 13:12, 10 February 2012

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

GETCOLOR()

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