The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
The Microsoft Excel File Format - OpenOffice.org
You also want an ePaper? Increase the reach of your titles
YUMPU automatically turns print PDFs into web optimized ePapers that Google loves.
5.74 PALETTE<br />
5.74 PALETTE<br />
BIFF2 BIFF3 BIFF4 BIFF5 BIFF8<br />
— 0092 H 0092 H 0092 H 0092 H<br />
This record contains the definition of all user-defined colours available for cell and object formatting. This record is<br />
optional. If it is omitted, a built-in default colour table will be used (see ➜5.74.3).<br />
5.74.1 Record Contents<br />
Record PALETTE, BIFF3-BIFF8:<br />
Offset Size Contents<br />
0 2 Number of following colours (nm). Contains 16 in BIFF3-BIFF4 and 56 in BIFF5-BIFF8.<br />
2 4∙nm List of nm RGB colours (➜2.5.4)<br />
5.74.2 Special Built-In Colours<br />
Beside the colours described in a PALETTE record, <strong>Excel</strong> may use a couple of built-in colours:<br />
Colour index Resulting colour or internal list index<br />
00 H 000000 H = EGA Black<br />
01 H FFFFFF H = EGA White<br />
02 H FF0000 H = EGA Red<br />
03 H 00FF00 H = EGA Green<br />
04 H 0000FF H = EGA Blue<br />
05 H FFFF00 H = EGA Yellow<br />
06 H FF00FF H = EGA Magenta<br />
07 H 00FFFF H = EGA Cyan<br />
08 H First colour from user-defined PALETTE record or from default colour table (➜5.74.3)<br />
⋮<br />
17 H (BIFF3-BIFF4)<br />
3F H (BIFF5-BIFF8)<br />
18 H (BIFF3-BIFF4)<br />
40 H (BIFF5-BIFF8)<br />
⋮<br />
Last colour from user-defined PALETTE record or from default colour table (➜5.74.3)<br />
System window text colour for border lines (used in records XF ➜5.115, CFRULE ➜5.16, and<br />
WINDOW2 (BIFF8 only), ➜5.110)<br />
19 H (BIFF3-BIFF4) System window background colour for pattern background (used in records XF, and<br />
41 H (BIFF5-BIFF8) CFRULE)<br />
43 H System face colour (dialogue background colour)<br />
4D H System window text colour for chart border lines<br />
4E H System window background colour for chart areas<br />
4F H Automatic colour for chart border lines (seems to be always Black)<br />
50 H System tool tip background colour (used in note objects)<br />
51 H System tool tip text colour (used in note objects)<br />
7FFF H<br />
System window text colour for fonts (used in records FONT ➜5.45, FONTCOLOR ➜5.47,<br />
and CFRULE)<br />
195