OptionalautoThe automatic (system) colour.
OptionalindexedIndex into the legacy indexed palette (64 is the system foreground, 65 the system background).
OptionalrgbARGB hex, e.g. 'FF4472C4'.
OptionalthemeZero-based index into the theme's colour scheme.
OptionaltintLightens (positive) or darkens (negative) the colour, from -1 to 1.
A SpreadsheetML colour (
CT_Color): an ARGB value, a theme slot, a legacy palette index or the automatic colour, with an optional tint. Every attribute is optional and absent ones are omitted.Properties named
colorSpec,fgColorSpec,bgColorSpecandcolorSpecscarry the full colour next to the legacy rgb-only string property (color,fgColor,tabColor, ...). On write the spec wins only whilespec.rgbequals that string (an empty string counts as absent); otherwise the string is written as plainrgb. So to change a colour, change the string and drop or update the spec.