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