Color from hex value android code example Example: chnage hex color to int color in android String white = "#ffffff"; int whiteInt = Color.parseColor(white);