public static Color getColor(String name) {
		if (name == null)
			return null;
		if (name.charAt(0) == '#')			// hex encoding
			return Color.decode(name);
		for (ColorNameMap col : map) {
			if (name.equalsIgnoreCase(col.colorName))
				return col.jColor;
		}
		return null;
	}