SA-MP Forums Archive
Make hex of translucent white - Printable Version

+- SA-MP Forums Archive (https://sampforum.blast.hk)
+-- Forum: SA-MP Scripting and Plugins (https://sampforum.blast.hk/forumdisplay.php?fid=8)
+--- Forum: Scripting Help (https://sampforum.blast.hk/forumdisplay.php?fid=12)
+--- Thread: Make hex of translucent white (/showthread.php?tid=497216)



Make hex of translucent white - audriuxxx - 25.02.2014

Hi,

How to make a translucent white color? i want to use it in 3d text label


Respuesta: Make hex of translucent white - CuervO - 25.02.2014

If you mean transparent, hex colors are determined by the following formula:

0xRRGGBBAA

0x Is just the initiator, RR determines amount of Red, GG amount of Green, BB amount of blue and AA is the alpha or transparency. FF is the highest value of the alpha, the lower it is, the more transparent it will be.