# SetClrModulation

Objects
Display
5.1 OC
bool
int color Color value to be modulated with.
int overlay_id If specified, sets the color modulation of the graphics overlay instead. The overlay must have been created using SetGraphics first.
Changes the color modulation of an object. This is a color value which is multiplied with the object color. RGB(255,0,0) will only let the red part of the color show. RGBa(255,255,255,128) will make all color half transparent.
GetCursor
()->SetClrModulation(RGBa(128,128,255,128));
Colors the selected clonk of the first player slightly blue and makes him half transparent.
RGB
RGBa
SetGamma
GetClrModulation
SetObjectBlitMode
SetColor
Sven2
2002-04