code: def saveState(self, filter=None):
      state = super().saveState(filter)
      state["value"] = self.value().getRgb()
      return state
  
file_path: pyqtgraph/pyqtgraph/parametertree/parameterTypes/color.py
imports: from ...None import functions
  from ...widgets.ColorButton import ColorButton
  from .basetypes import SimpleParameter, WidgetParameterItem
label_desc: Use image node_id 3 for calling the ColorParameter obj's underlying member method code with example usage: obj.saveState(filter) and returns: state