Hex to ARGB
#3

The hexadecimal number system is often used to represent colors in a fairly interpretable format. But "hex" isn't a thing in itself. Your question is therefore ambiguous. What you want is probably this:
PHP код:
RGBAToARGB(color)
{
    new 
alpha color 0xFF;
    return ((
color >>> 8) | (alpha << 24));

Reply


Messages In This Thread
Hex to ARGB - by ScIrUsna - 19.04.2016, 11:04
Re: Hex to ARGB - by Saliim - 19.04.2016, 11:21
Re: Hex to ARGB - by Vince - 19.04.2016, 13:38
Re: Hex to ARGB - by ScIrUsna - 19.04.2016, 13:57

Forum Jump:


Users browsing this thread: 1 Guest(s)