private RGBColor parseHexColor(String colorStr) throws JTMXParseException {
		long value = 0;
		boolean fail = false;
		try {
			value = Long.parseLong(colorStr, 16);
		} catch (NumberFormatException e) {
			fail = true;
		}
		if (value < 0 || value > 0xFFFFFF) {
			fail = true;
		}
		if (fail) throw new JTMXParseException("Invalid color value!");
		
		int r = (int) ((value & 0xFF0000) >> 16);
		int g = (int) ((value & 0x00FF00) >> 8);
		int b = (int) (value & 0x0000FF);

		return new RGBColor(r, g, b);
	}