I need process a hex string value to floating color.
The real color is (in RGBA format)
{ 0.63671875f, 0.76953125f, 0.22265625f, 1.0f } Is green, when 0 is equivalent to 00 and 1 is FF. But need convert the color to 0-255 decimal to calculate the % from 0 to 255 and set the float value.
How to transform by example #AABBCCFF to float array?
When parsecolor i have the integer value:
Color.parseColor("#AABBCCFF"); But how transform the integer to each color in float? red green blue and alpa