Difference between revisions of "RGB()"
From Lianjapedia
Yvonne.milne (Talk | contribs) m (1 revision) |
Yvonne.milne (Talk | contribs) |
||
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== | ||
− | [[ | + | [[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> | ||
− | |||
− | |||
− | |||
[[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
Contents
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
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