SA-MP Forums Archive
What last 2 chars do in HEX colors? - 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)
+---- Forum: Help Archive (https://sampforum.blast.hk/forumdisplay.php?fid=89)
+---- Thread: What last 2 chars do in HEX colors? (/showthread.php?tid=94768)



What last 2 chars do in HEX colors? - forfirat - 31.08.2009

Hi,

Can anyone please tell what the last 2 hex chars do in hex colors in scripts (mostly FF) Some say alpha channel, some say brightness but I didnt see any function of this.

Thank for in advance


Re: What last 2 chars do in HEX colors? - Zeex - 31.08.2009

wiki is great thing...



Re: What last 2 chars do in HEX colors? - Westie - 31.08.2009

Quote:
Originally Posted by forfirat
Hi,

Can anyone please tell what the last 2 hex chars do in hex colors in scripts (mostly FF) Some say alpha channel, some say brightness but I didnt see any function of this.

Thank for in advance
They are indeed for alpha (transparency) channels. Their only effect on SA-MP (at this moment) is with map icons, you can set their transparency with them. With the font colours on the other hand, you *cannot* set the transparency on them.