'Workbook contains a different colour index.'

def _write_colors(self):

    if (self.wb._colors == COLOR_INDEX):
        return
    cols = SubElement(self._root, 'colors')
    rgb = SubElement(cols, 'indexedColors')
    for color in self.wb._colors:
        SubElement(rgb, 'rgbColor', rgb=color)
