2.5.161 Icv

The Icv structure specifies a color in the color table. 


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

icv

icv (2 bytes): An unsigned integer that specifies a color from the color table. The value MUST be one of the following values: a value greater than or equal to 0x000 and less than or equal to 0x0041, a value greater than or equal to 0x004D and less than or equal to 0x004F, 0x0051, or 0x7FFF.

The values that are greater than or equal to 0x0000 and less than or equal to 0x0007 specify built-in color constants. This part of the color table is:

icv value         

Color description

Red value

Green value

Blue value

0x0000

Black

0

0

0

0x0001

White

255

255

255

0x0002

Red

255

0

0

0x0003

Green

0

255

0

0x0004

Blue

0

0

255

0x0005

Yellow

255

255

0

0x0006

Magenta

255

0

255

0x0007

Cyan

0

255

255

The next 56 values in the table, the icv values greater than or equal to 0x0008 and less than or equal to 0x003F, specify the palette colors in the table. If a Palette record exists in this file, these icv values specify colors from the rgColor array in the Palette record. If no Palette record exists, these values specify colors in the default palette. The next 56 values in this part of the color table specify the following:

Value

If a palette record exists in this file:

Default

red value

(if no palette record in file)

Default

green value

(if no palette record in file)

Default

blue value

(if no palette record in file)

0x0008

Field rgColor[0] of Palette

0

0

0

0x0009

Field rgColor[1] of Palette

255

255

255

0x000A

Field rgColor[2] of Palette

255

0

0

0x000B

Field rgColor[3] of Palette

0

255

0

0x000C

Field rgColor[4] of Palette

0

0

255

0x000D

Field rgColor[5] of Palette

255

255

0

0x000E

Field rgColor[6] of Palette

255

0

255

0x000F

Field rgColor[7] of Palette

0

255

255

0x0010

Field rgColor[8] of Palette

128

0

0

0x0011

Field rgColor[9] of Palette

0

128

0

0x0012

Field rgColor[10] of Palette

0

0

128

0x0013

Field rgColor[11] of Palette

128

128

0

0x0014

Field rgColor[12] of Palette

128

0

128

0x0015

Field rgColor[13] of Palette

0

128

128

0x0016

Field rgColor[14] of Palette

192

192

192

0x0017

Field rgColor[15] of Palette

128

128

128

0x0018

Field rgColor[16] of Palette

153

153

255

0x0019

Field rgColor[17] of Palette

153

51

102

0x001A

Field rgColor[18] of Palette

255

255

204

0x001B

Field rgColor[19] of Palette

204

255

255

0x001C

Field rgColor[20] of Palette

102

0

102

0x001D

Field rgColor[21] of Palette

255

128

128

0x001E

Field rgColor[22] of Palette

0

102

204

0x001F

Field rgColor[23] of Palette

204

204

255

0x0020

Field rgColor[24] of Palette

0

0

128

0x0021

Field rgColor[25] of Palette

255

0

255

0x0022

Field rgColor[26] of Palette

255

255

0

0x0023

Field rgColor[27] of Palette

0

255

255

0x0024

Field rgColor[28] of Palette

128

0

128

0x0025

Field rgColor[29] of Palette

128

0

0

0x0026

Field rgColor[30] of Palette

0

128

128

0x0027

Field rgColor[31] of Palette

0

0

255

0x0028

Field rgColor[32] of Palette

0

204

255

0x0029

Field rgColor[33] of Palette

204

255

255

0x002A

Field rgColor[34] of Palette

204

255

204

0x002B

Field rgColor[35] of Palette

255

255

153

0x002C

Field rgColor[36] of Palette

153

204

255

0x002D

Field rgColor[37] of Palette

255

153

204

0x002E

Field rgColor[38] of Palette

204

153

255

0x002F

Field rgColor[39] of Palette

255

204

153

0x0030

Field rgColor[40] of Palette

51

102

255

0x0031

Field rgColor[41] of Palette

51

204

204

0x0032

Field rgColor[42] of Palette

153

204

0

0x0033

Field rgColor[43] of Palette

255

204

0

0x0034

Field rgColor[44] of Palette

255

153

0

0x0035

Field rgColor[45] of Palette

255

102

0

0x0036

Field rgColor[46] of Palette

102

102

153

0x0037

Field rgColor[47] of Palette

150

150

150

0x0038

Field rgColor[48] of Palette

0

51

102

0x0039

Field rgColor[49] of Palette

51

153

102

0x003A

Field rgColor[50] of Palette

0

51

0

0x003B

Field rgColor[51] of Palette

51

51

0

0x003C

Field rgColor[52] of Palette

153

51

0

0x003D

Field rgColor[53] of Palette

153

51

102

0x003E

Field rgColor[54] of Palette

51

51

153

0x003F

Field rgColor[55] of Palette

51

51

51

The remaining values in the color table specify colors associated with application display settings as follows:

Value

Meaning

0x0040

Default foreground color. This is the window text color in the sheet display.

0x0041

Default background color.  This is the window background color in the sheet display and is the default background color for a cell.

0x004D

Default chart foreground color. This is the window text color in the chart display. 

0x004E

Default chart background color.  This is the window background color in the chart display.

0x004F

Chart neutral color which is black, an RGB value of (0,0,0).

0x0051

ToolTip text color.  This is the automatic font color for comments.

0x7FFF

Font automatic color.  This is the window text color.