code: def type(self):
          
          color = self._color
          if color is None:
              return None
          if color.themeColor is not None:
              return MSO_COLOR_TYPE.THEME
          if color.val == ST_HexColorAuto.AUTO:
              return MSO_COLOR_TYPE.AUTO
          return MSO_COLOR_TYPE.RGB
docs: Read-only. A member of :ref:`MsoColorType`, one of RGB, THEME, or
          AUTO, corresponding to the way this color is defined. Its value is
          |None| if no color is applied at this level, which causes the
          effective color to be inherited from the style hierarchy.