Extract alpha from a hex colour

hex2alpha(hex)

Arguments

hex

hex colour with alpha i.e. '#123456ff'