Colour Values

Colour values can be specified in two forms:

In either case, the displayed colour may also be further transformed by the Windows Client machine subsystems due to Colour Mapping.

In the use of Property Logic Commands the colour value retrieved will always the same as the value set, irrespective of any colour mapping done by the operating system or display subsystem.  Therefore, if the colour was set using an RGB triplet, that triplet will be returned even if it corresponds to a colour name.  Likewise, if a colour name is used to set the property, that name will be retrieved, not the RGB triplet value.

RGB colour specifications will be returned with 0 values, not null value (e.g. 255,0,0 not 255,,).

Comment on this topic

Topic ID: 510042