SetRGB (NotesColorObject - LotusScript®)
Sets an RGB value to the closest Domino® color and HSL value.
Defined in
Syntax
notesColor% = notesColorObject .SetRGB( red% , green% , blue% )
Parameters
red%
Integer. Red component of the RGB value. Must be in the range 0-255.
green%
Integer. Green component of the RGB value. Must be in the range 0-255.
blue%
Integer. Blue component of the RGB value. Must be in the range 0-255.
Return value
notesColor%
Integer. Closest Domino color to the RGB value.
Usage
SetRGB sets NotesColor, in addition to the return value, to the closest Domino color.
SetRGB sets the RGB properties to the specifications of this method.
SetRGB sets the HSL properties to values that match the Domino color.
Language cross-reference
setRGB method in Java ColorObject class