rgbstr(
COLOR
)

The rgbstr( function converts a color into text in the format red,green,blue.


Parameters

This function has one parameter:

color – is the color you want to convert to text. This must either be a binary value created with the rgb(, hsb(, or other color generation functions, or must be an HTML color specification like "FF0000 (red) or "0000FF (blue). See Colors for more information.


Description

Converts a color into text in the format red,green,blue. Each color value may be from 0 (completely dark) to 65535 (maximum brightness).

rgbstr(rgb(123,456,789)) ☞ 123,456,789
rgbstr(hsb(0,20000,1000)) ☞ 1000,695,695
rgbstr("CCFF33") ☞ 52428,65535,13107

See Colors for more information about working with colors in Panorama formulas.

Note: This function is equivalent to:

str(red(thecolor))+","+str(green(thecolor))+","+str(blue(thecolor))

See Also


History

VersionStatusNotes
10.0No changeCarried over from Panorama 6.0.