SyntaxFix
Write A Post
Hire A Developer
Questions
The real answer is this simplest and easiest ....
String white = "#ffffff"; int whiteInt = Color.parseColor(white);