SA-MP Forums Archive
Where can i find all of this 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)
+--- Thread: Where can i find all of this colors.. ? (/showthread.php?tid=640376)



Where can i find all of this colors.. ? - BadJih - 01.09.2017

colors with format : 0x00000000


Re: Where can i find all of this colors.. ? - 10MIN - 01.09.2017

There are no colors with a "format". They are just numbers for computers... Colors are ussually represented in HEXadecimal format. (0-F)
You actually look for the "format" AARRBBGG. Goagle's color picker have the RRBBGG format, but the AA means transparency. You can "play' with it to the value you need


Re: Where can i find all of this colors.. ? - Quantella - 01.09.2017

Quote:
Originally Posted by 10MIN
Посмотреть сообщение
There are no colors with a "format". They are just numbers for computers... Colors are ussually represented in HEXadecimal format. (0-F)
You actually look for the "format" AARRBBGG. Goagle's color picker have the RRBBGG format, but the AA means transparency. You can "play' with it to the value you need
Almost good.
Just search on internet for hex-colorcode (colorname) - In example I'm searching for the hex code for white which is FFFFF.
(example white: #FFFFF) replace # with 0x and it will be 0xFFFFF afther that, simple put AA "behind the code".
If that is done you have 0xFFFFFAA which is the code that is used for white.