ColorRgb - method of the Pm object
Description:
Returns the color by entering the three RGB components.
Syntax:
String ColorRgb(Long nRed, Long nGreen, Long nBlue)
Parameters:
nRed | (Long) Number between 0-255. Red component of the color. |
nGreen | (Long) Number between 0-255. Green component of the color. |
nBlue | (Long) Number between 0-255. Blue component of the color. |
---|
Return value:
Returns a value of the color as
RGB String in the form
"#RRGGBB".
Example:
Creating yellow color (string "#ffff00") with RGB components (255, 255, 0).
JavaScriptVBScriptSelect and copy to clipboard
var sColor = Pm.ColorRgb(255, 255, 0);
Dim sColor
sColor = Pm.ColorRgb(255, 255, 0)