I am receiving hex color values from a server (in this form, #xxxxxx , example #000000 for black)
#xxxxxx
#000000
How do I convert this to an integer value
Integer.parseInt(myString.replaceFirst("#", ""), 16)