19.04.2016, 11:04
Hi,
I need simple function which converts hex to argb.
I need simple function which converts hex to argb.
RGBAToARGB(color)
{
new alpha = color & 0xFF;
return ((color >>> 8) | (alpha << 24));
}