private void setHexaFieldFromTextField() throws NumberFormatException{
		this.view.tfHexaCode.removeActionListener(this);
		int b = Integer.parseInt(this.view.tfBlue.getText());
		int r = Integer.parseInt(this.view.tfRed.getText());
		int g = Integer.parseInt(this.view.tfGreen.getText());
		if (r >= 0 && r <= 255 && g >= 0 && g <= 255 && b >= 0 && b <= 255) {
			String hexa = Integer.toHexString(r) + Integer.toHexString(g) + Integer.toHexString(b);
			this.view.tfHexaCode.setText(hexa);
		}
		this.view.tfHexaCode.addActionListener(this);
	}