2.5.285 XFPropColor

Office

The XFPropColor structure specifies a color.


0


1


2


3


4


5


6


7


8


9

1
0


1


2


3


4


5


6


7


8


9

2
0


1


2


3


4


5


6


7


8


9

3
0


1

A

xclrType

icv

nTintShade

dwRgba

A - fValidRGBA (1 bit): A bit that specifies whether the xclrType, icv and nTintShade fields were used to set the dwRgba field. MUST equal 1.

xclrType (7 bits): An XColorType that specifies how the color information is stored.

icv (1 byte): An unsigned integer that specifies color information. If xclrType equals 0x01, this field MUST be one of the values specified in IcvXF, or equal 0. If xclrType equals 0x03, this field MUST be one of the values specified in ColorTheme. Otherwise this field is undefined and MUST be ignored.

nTintShade (2 bytes): A signed integer that specifies the tint of the color. This value is mapped to the range -1.0 to 1.0. Positive values lighten the color, and negative values darken the color. MUST NOT equal -32768.

dwRgba (4 bytes): A LongRGBA that specifies the color.

Show: