code: def to_rgb(self):
      value = self.value.replace(" ", "")
      if value.startswith("#") and len(value) >= 7:
          return (
              int(value[1:3], 16),
              int(value[3:5], 16),
              int(value[5:7], 16),
          )
      elif value.lower() in self.colortable:
          return self.colortable[value.lower()]
      else:
          raise ValueError("Unknown color: " + self.value)
  
imports: from ._setting import Setting
label_desc: Use image node_id 2 for calling the Color obj's underlying member method code with example usage: obj.to_rgb() and returns: int,  int,  int, self