How to convert HEX to SAMP color ?
#4

Quote:
Originally Posted by RaFsTar
Then repeat the two last characters:
Код:
0xFF00-00-00
Kevin is right, this is wrong.

The last 2 characters are the Alpha channel, and they determine how opaque/transparent the colour will be. Setting them to 00 will make it transparent. Setting them to FF makes it opaque.
Reply


Messages In This Thread
How to convert HEX to SAMP color ? - by RaFsTar - 13.08.2009, 23:33
Re: How to convert HEX to SAMP color ? - by kevinsoftware - 13.08.2009, 23:44
Re: How to convert HEX to SAMP color ? - by RaFsTar - 13.08.2009, 23:57
Re: How to convert HEX to SAMP color ? - by Weirdosport - 13.08.2009, 23:57
Re: How to convert HEX to SAMP color ? - by RaFsTar - 14.08.2009, 00:00
Re: How to convert HEX to SAMP color ? - by Weirdosport - 14.08.2009, 00:08
Re: How to convert HEX to SAMP color ? - by RaFsTar - 14.08.2009, 00:13
Re: How to convert HEX to SAMP color ? - by StrickenKid - 14.08.2009, 00:20
Re: How to convert HEX to SAMP color ? - by RaFsTar - 14.08.2009, 00:25
Re: How to convert HEX to SAMP color ? - by Xer0maR - 16.01.2011, 09:33

Forum Jump:


Users browsing this thread: 1 Guest(s)