<fills> (Fills)

This element defines the cell fills portion of the Styles part, consisting of a sequence of <fill> records. A cell fill consists of a background color, foreground color, and pattern to be applied across the cell.


This is the corresponding XML:

  <patternFill patternType="solid">
    <fgColor rgb="FFFFFF00"/>
    <bgColor indexed="64"/>

This cell has a yellow fill with a thin horizontal crosshatch pattern applied (@patternType = lightGrid):

This is the corresponding XML:

  <patternFill patternType="lightGrid">
  <bgColor rgb="FFFFFF00"/>

Parent Elements


Child Elements


<fill> (Fill)




<count> (Fill Count)

Count of <fill> elements.

The possible values for this attribute are defined by the XML Schema unsignedInt datatype.

The following XML Schema fragment defines the contents of this element:

<complexType name="CT_Fills">
	<element name="fill" type="CT_Fill" minOccurs="0" maxOccurs="unbounded"/>
	<attribute name="count" type="xsd:unsignedInt" use="optional"/>