2.5.21 CFColor

The CFColor structure specifies a color in conditional formatting records or in a SheetExt record.


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

xclrType

xclrValue

numTint

...

xclrType (4 bytes): An XColorType that specifies the type of color reference.  MUST be different from XCLRNINCHED.  MUST be different from XCLRAUTO unless it is contained in a SheetExt record.

xclrValue (4 bytes): A structure that specifies the color value.  The type of structure depends on the color reference type specified by xclrType and MUST be a structure from the following table:

Value of xclrType

Type

XCLRAUTO

Ignored

XCLRINDEXED

ColorICV

XCLRRGB

LongRGBA<153>

XCLRTHEMED

ColorTheme

numTint (8 bytes): An Xnum (section 2.5.342) that specifies the tint and shade value to be applied to the color.  MUST be greater than or equal to -1.0 and less than or equal to 1.0