public static int isWhite(int colorInt) {  
	        Color color = new Color(colorInt);  
	        if (color.getRed() + color.getGreen() + color.getBlue() > 600) {  
	            return 1;  
	        }  
	        return 0;  
	    }