code: def _enforceDataType(self, data):
          
          qColor = QtGui.QColor(data)    # TODO: store a RGB string?
          if not qColor.isValid():
              raise ValueError("Invalid color specification: {!r}".format(data))
          return qColor
docs: Converts to str so that this CTI always stores that type.