JAVA/CORBA CLASSES
Represents a color.
Note This class is new with Release 6.5.
Containment
Contained by: RichTextSection, RichTextTable, Session
Properties
Blue through getBlue
Green through getGreen
Hue through getHue
Luminance through getLuminance
NotesColor through getNotesColor and setNotesColor
Red through getRed
Saturation through getSaturation
Methods
setHSL
setRGB
Creation
To create a ColorObject object, use the createColorObject method of Session.
Usage
Domino defines colors numbered 0 through 240, as reflected in the read-write property NotesColor. Each Domino color maps to RGB (red, green, and blue) values in the range 0-255 and HSL (hue, saturation, and luminance) values in the range 0-240, as reflected in the remaining, read-only properties.
NotesColor can be used as the value for the following properties: Color in RichTextStyle; BackgroundColor in View; FontColor and HeaderFontColor in ViewColumn.
The following table lists the values for the first 16 Domino colors, which are defined by Java constants. See the example for code to generate the values for all 241 colors.