HEX/HTML > ARGB? - 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: HEX/HTML > ARGB? (
/showthread.php?tid=448999)
HEX/HTML > ARGB? -
BaubaS - 06.07.2013
Good day. Can anyone explain me, how to make ARGB color (for example, which is used in SetObjectMaterial) when having HEX/HTML color? For example, I have
0x3973FFFF, and how would it look in ARGB format? Yes, I tried to use ******, but it doesnt give me anything that I want.
Re: HEX/HTML > ARGB? -
IstuntmanI - 06.07.2013
0x
3973FFFF is
RGBA
39 - RR
73 - GG
FF - BB
FF - AA
You just put AA in front:
0xFF
FF3973
Re: HEX/HTML > ARGB? -
BaubaS - 06.07.2013
Thank you!