01.09.2011, 22:07
Hello, I'm a bit stumped. Is there a function or easy way to remove alpha from an opaque color? I have a ganzone system and i think it looks very ugly on the map when a ganzone is an opaque color. So i need to do a calculation to remove alpha from the gangs color, and set the gangzone color based on that.
I'll give you an example of what i mean.
This is probably simple for someone who is good with hex numbers (unlike me).
Thanks in advance.
I'll give you an example of what i mean.
pawn Код:
//Is there a way to turn this;
0xFF6600FF
//To this;
0xFF660044
Thanks in advance.