A GdkColor provides an object structure for
retaining information about a defined color.
This is an XcmsColor structure, and will take values in any XcmsColor
format accordingly. Probably the most generally useful of these formats
is the gamma-corrected XcmsRGB structure, which takes the range
0 to 65535 per RGB value, with
0, 0, 0 being the color black. RGB values that are
given in this way are scaled to match the color range of the hardware
device currently being used.
Colors can be assigned through an application's RC files, where the
GdkColor objects are constructed via the
application colormap defined through the file. Colors that are assigned
in this way can be constructed using any of the formats accepted by the
XcmsColor structure, including intensity doubles.
Note that this is not the case when assigning a color to a