SetHSL (NotesColorObject - LotusScript®)

Sets an HSL value to the closest Domino® color and RGB value.

Defined in

NotesColorObject

Syntax

notesColor% = notesColorObject .SetHSL( hue% , saturation% , luminance% )

Parameters

hue%

Integer. Hue component of the HSL value. Must be in the range 0-240.

saturation%

Integer. Saturation component of the HSL value. Must be in the range 0-240.

luminance%

Integer. Luminance component of the HSL value. Must be in the range 0-240.

Return value

notesColor%

Integer. 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.

Example