Sets the color value for this button to the given color.
        
        :param      color | <QColor>
346318
def setColor( self, color ):
        
        self._color = color
        palette     = self.palette()
        palette.setColor(palette.Button, color)
        self.setPalette(palette)
        
        if ( not self.signalsBlocked() ):
            self.colorChanged.emit(color)
1083812
public void setSecondaryButtonColor(String color) throws HelloSignException {
        if (white_labeling_options == null) {
            white_labeling_options = new WhiteLabelingOptions();
        }
        white_labeling_options.setSecondaryButtonColor(color);
    }
1325700
def set_color(opts = {})
      color = Color.new(opts)
      response = put('state', color.to_h)

      response_successful?(response)
    end
422319
@CheckReturnValue
    public RoleManager setColor(Color color)
    {
        this.color = color == null ? Role.DEFAULT_COLOR_RAW : color.getRGB();
        set |= COLOR;
        return this;
    }
173088
def setAlternateColor(self, color):
        
        color = QColor(color)
        if self._palette is None:
            self._palette = XNodePalette(self._scenePalette)
        
        self._palette.setColor(self._palette.NodeAlternateBackground, color)
        self.setDirty()
1094132
def setBorderColor(self, color):
        
        color = QColor(color)
        if self._palette is None:
            self._palette = XNodePalette(self._scenePalette)
        
        self._palette.setColor(self._palette.NodeBorder, color)
        self.setDirty()
230136
public void setColor(int color) {
        if (mState.mBaseColor != color || mState.mUseColor != color) {
            invalidateSelf();
            mState.mBaseColor = mState.mUseColor = color;
        }
    }
868554
def setHotspotColor(self, color):
        
        color = QColor(color)
        if self._palette is None:
            self._palette = XNodePalette(self._scenePalette)
        
        self._palette.setColor(self._palette.NodeHotspot, color)
        self.setDirty()
95823
def color(self, value):
        """"""
        if self._color != value and \
           isinstance(value, Color):
            self._color = value
573084
def pickColor( self ):
        
        color = QColorDialog.getColor( self.color(), self )
        
        if ( color.isValid() ):
            self.setColor(color)
1210200
public final void setColor(@ColorInt final int color) {
        if (this.color != color) {
            this.color = color;
            persistInt(color);
            notifyChanged();
            adaptPreviewView();
        }
    }
764682
def color(self, color):
        
        if color is None:
            color = 0xFFFFFFFF

        idc.SetColor(self.ea, idc.CIC_ITEM, color)
416269
def setQuickColor( self, color ):
        
        colorset = XPaletteColorSet()
        colorset.setPalette(QPalette(color))
        self.setColorSet(colorset)
1137284
def setColor(self, poiID, color):
        
        self._connection._beginMessage(
            tc.CMD_SET_POI_VARIABLE, tc.VAR_COLOR, poiID, 1 + 1 + 1 + 1 + 1)
        self._connection._string += struct.pack("!BBBBB", tc.TYPE_COLOR, int(
            color[0]), int(color[1]), int(color[2]), int(color[3]))
        self._connection._sendExact()
1326912
public void setTextColor(final Color COLOR) {
        if (null == textColor) {
            _textColor = COLOR;
            fireSectionEvent(UPDATE_EVENT);
        } else {
            textColor.set(COLOR);
        }
    }
1069020
public void setHourColor(final Color COLOR) {
        if (null == hourColor) {
            _hourColor = COLOR;
            fireTileEvent(REDRAW_EVENT);
        } else {
            hourColor.set(COLOR);
        }
    }
1269181
public void setNeedleColor(final Color COLOR) {
        if (null == needleColor) {
            _needleColor = COLOR;
            fireUpdateEvent(REDRAW_EVENT);
        } else {
            needleColor.set(COLOR);
        }
    }