Android Java Color From Hexadecimal Color String

To get a Color from a hexadecimal to a color you can use the parseColor

public static int parseColor (String colorString)

And to use it remember the # character

Color.parseColor("#636161");
Posted in Android, Tips and Tricks Tagged with: , ,