code: def setBaseColor(self, color):
          
          color = QColor(color)
          if self._palette is None:
              self._palette = XNodePalette(self._scenePalette)
          
          self._palette.setColor(self._palette.NodeBackground, color)
          self._palette.setColor(self._palette.NodeAlternateBackground,
                                 color.darker(105))
          self._palette.setColor(self._palette.NodeBorder,
                                 color.darker(125))
          
          self.setDirty()
docs: Sets the primary color for this node.
          
          :param      color       <QColor>