Advertisement
name22

RGB to ARGB

Apr 21st, 2012
221
0
Never
Not a member of Pastebin yet? Sign Up, it unlocks many cool features!
AutoIt 0.12 KB | None | 0 0
  1. $iRGB = 0x00FFFF
  2. $iAlpha = 0xFF
  3.  
  4. $iARGB = BitShift($iAlpha, -24) + $iRGB
  5. MsgBox(64, "ARGB", "0x" & Hex($iARGB, 8))
Advertisement
Add Comment
Please, Sign In to add comment
Advertisement