ARGB to red green and blue

BlitzMax Forums/BlitzMax Programming/ARGB to red green and blue

To get values 0-255

alpha=(argb shr 24) & $FF
red=(argb shr 16) & $FF
green=(argb shr 8) & $FF
blue=argb & $FF