SA-MP Forums Archive
HEX code for samp generator ? - 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: HEX code for samp generator ? (/showthread.php?tid=186940)



HEX code for samp generator ? - Dj_maryo1993 - 31.10.2010

Can someone give me an link to an online HEX code for samp generator ?
I found something ( https://sampwiki.blast.hk/wiki/Hex_colours )but i need the code to be in the form of : 0xFF8282AA


Re: HEX code for samp generator ? - WillyP - 31.10.2010

add on two AA's at the end.. or whatever samp uses :b


Re: HEX code for samp generator ? - Nero_3D - 31.10.2010

Quote:
Originally Posted by Dj_maryo1993
Посмотреть сообщение
Can someone give me an link to an online HEX code for samp generator ?
I found something ( https://sampwiki.blast.hk/wiki/Hex_colours )but i need the code to be in the form of : 0xFF8282AA
Just take the hex code which is in RGB (red - green - blue) and add a 0x (for hex notation) in front of it and an alpha number behind so it is RGBA (RGB - aplha). With 00 its transparent and FF its opaque.

Or just read the wiki page RGBA_color_space


Re: HEX code for samp generator ? - Dj_maryo1993 - 31.10.2010

Thanx alot ,i didn't know how to add them