setHSL (ColorObject - Java™)
Sets an HSL value to the closest Domino® color and RGB value.
Defined in
Syntax
public int setHSL(int hue, int saturation, int luminance)
throws NotesException
Parameters
int hue
Hue component of the HSL value. Must be in the range 0-240.
int saturation
Saturation component of the HSL value. Must be in the range 0-240.
int luminance
Luminance component of the HSL value. Must be in the range 0-240.
Return value
int
Closest Domino® color to the HSL value.
Usage
SetHSL sets NotesColor, in addition to the return value, to the closest Domino® color.
SetHSL sets the HSL properties to the specifications of this method.
SetHSL sets the RGB properties to values that match the Domino® color.