# SetRGBaValue

Arithmetics
5.1 OC
int
int Val 32 bit color value
int NewVal 0-255: Color value to be replaced with the old one.
int select 0-3: Color value to be changed.
Sets a single color value of a 32 bit color value.

select
Selection
0
Alpha value
1
Red value
2
Green value
3
Blue value

GetCursor
()->SetColor(SetRGBaValue(GetCursor()->GetColor(),255,1));
Sets the red value of the current clonk to maximum.
GetRGBaValue
DoRGBaValue
Tyron
2004-08