Everything I\'ve found on this subject simply converts the hex to rgb and then adds an alpha of 1. I want to get the intended alpha from the hex digits as well.
A c
Here is a little tooltip for you :
In this case #DCDCDC8F the DC is alpha = 220,
Hex to Decimal [ DC ]:
then 220 / 255 = 0.86 opacity.

The bytes are stored in memory on a little-endian machine in the order AABBGGRR
Check this : http://www.statman.info/conversions/hexadecimal.html