Difference between revisions of "RGB()"

From Lianjapedia
Jump to: navigation, search
 
 
(2 intermediate revisions by one other user not shown)
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 Functions]]
 
[[Category:Numeric Data Functions]]

Latest revision as of 09:12, 4 February 2013

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