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