boolean checkValue(int Red, int Green, int Blue){
			int maxValue = 1;
			
			for(int i = 0; i < bitPerPixel/numOfColorComponents; i++){
				int temp = 2;
				maxValue = maxValue*temp;
			}
			
			maxValue = maxValue - 1 ;
			
			if(Red < 0 || Green < 0 || Blue < 0){
				System.out.println("�G���[:RGB�l�ɕ��̒l�͎g���Ȃ�");
				return false;
			}
			if(Red > maxValue || Green > maxValue || Blue > maxValue){
				System.out.println("�G���[�F" + bitPerPixel +"bpp�Ȃ̂�RGB�l�̍ő�l��" + maxValue);
				return false;
			}
			return true;
		}