LOTUSSCRIPT/COM/OLE CLASSES


Representing a color
Example

The NotesColorObject class allows you to represent a Domino color so that you can access its Domino value, RGB (red, green, blue) value, and HSL (hue, saturation, luminance) value as properties. Use the CreateColorObject method of NotesSession to establish the object.

The following table lists the NotesColorObject properties.

PropertyData typeDescription
BlueInteger(Read-only) Blue RGB value 0-255.
GreenInteger(Read-only) Green RGB value 0-255.
HueInteger(Read-only) Hue HSL value 0-240.
LuminanceInteger(Read-only) Luminance HSL value 0-240.
NotesColorIntegerDomino color value.
RedInteger(Read-only) Red RGB value 0-255.
SaturationInteger(Read-only) Saturation HSL value 0-240.
Domino color values are in the range 0-240. Setting NotesColor sets the RGB and HSL properties to values that correspond to the Domino color value. You can base the color properties on HSL and RGB values through the methods SetHSL and SetRGB.

The following properties and methods use Domino color values:


Example
See Also