Set a color to be transparent during blitting functions.

        Args:
            color (Union[Tuple[int, int, int], Sequence[int]]):
                An (r, g, b) sequence or Color instance.
432201
def set_key_color(self, color: Tuple[int, int, int]) -> None:
        
        lib.TCOD_image_set_key_color(self.image_c, color)
248207
def _assert_is_color(value):
        
        if not isinstance(value, tuple) or len(value) != 3:
            raise ValueError("Color must be a RGB tuple.")

        if not all(0 <= x <= 255 for x in value):
            raise ValueError("RGB values of color must be between 0 and 255.")
1063037
def SetFillColor(self, color):
        
        self._fillcolor = Color(color)
        if isinstance(self, ROOT.TAttFill):
            ROOT.TAttFill.SetFillColor(self, self._fillcolor('root'))
27680
def set_bumper_color(self, particle, group, bumper, collision_point, collision_normal):
		""""""
		self.color = tuple(particle.color)[:3]
764682
def color(self, color):
        
        if color is None:
            color = 0xFFFFFFFF

        idc.SetColor(self.ea, idc.CIC_ITEM, color)
1010998
public void setColor(float red, float green, float blue) {
		setRed(red);
		setGreen(green);
		setBlue(blue);
	}
216172
def led_rgb(self, color):
        """"""
        if (not isinstance(color, (list, tuple)) or
                not all(isinstance(item, int) for item in color)):
            raise SkybellException(ERROR.COLOR_VALUE_NOT_VALID, color)

        self._set_setting(
            {
                CONST.SETTINGS_LED_R: color[0],
                CONST.SETTINGS_LED_G: color[1],
                CONST.SETTINGS_LED_B: color[2]
            })
77046
function Color3(r, g, b) {
            if (r === void 0) { r = 0; }
            if (g === void 0) { g = 0; }
            if (b === void 0) { b = 0; }
            this.r = r;
            this.g = g;
            this.b = b;
        }
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()
770532
public void setSplitterLineColor(Color splitterLineColor) {
        this.splitterLineColor = splitterLineColor;

        if (isAttached()) {
            applySplitterLineColor(splitterLineColor);
        } else {
            registerHandler(addAttachHandler(attachEvent -> applySplitterLineColor(splitterLineColor)));
        }
    }
1198786
def set_color(self, light_id, hex_value, brightness=None):
        '''
        
        '''
        light = self.get_light(light_id)

        xy = get_xy_from_hex(hex_value)
        data = {
            'xy': [xy.x, xy.y],
        }

        if brightness is not None:
            data['bri'] = brightness

        return self.set_state(light.light_id, **data)
600767
def colorate(sequence, colormap="", start=0, length=None):
    
    n = start
    colors = color_space(colormap, sequence, start=0.1, stop=0.9, length=length)
    for elem in sequence:
        yield n, colors[n-start], elem
        n += 1
930350
public void setBackgroundColor(int color) {
        setBackgroundColorR(Colors.byteToGl(Color.red(color)));
        setBackgroundColorG(Colors.byteToGl(Color.green(color)));
        setBackgroundColorB(Colors.byteToGl(Color.blue(color)));
        setBackgroundColorA(Colors.byteToGl(Color.alpha(color)));
    }
159036
def setForeground(self, color):
        
        btn = self.widget()
        if btn:
            palette = btn.palette()
            palette.setColor(palette.WindowText, color)
            btn.setPalette(palette)
854667
def make_color_tuple(color):
    
    R = color[1:3]
    G = color[3:5]
    B = color[5:7]

    R = int(R, 16)
    G = int(G, 16)
    B = int(B, 16)

    return R, G, B
765522
def setDisabledColor(self, color):
        
        color = QColor(color)
        if self._palette is None:
            self._palette = XNodePalette(self._scenePalette)
        
        self._palette.setColor(self._palette.Disabled,
                               self._palette.NodeBackground,
                               color)
        self._palette.setColor(self._palette.Disabled,
                               self._palette.NodeAlternateBackground,
                               color.darker(105))
        self.setDirty()
1369371
public void setStartCornerColor(Color color) {
        if (startColor == null) {
            startColor = new RGBColor(0.0, 0.0, 0.0);
        }
        setGradation(true);
        this.startColor = color;
    }