I have a color into the follow format 0xAABBCC as String. I need to convert it into Color, but seems like there is not such method, and all available is returning Integer results,
Solution 1:
use Color.parseColor("#AABBCC");
Solution 2:
new Color(Integer.parseInt("AABBCC", 16));
Post a Comment for "Convert Hex Color String To Color?"