public static Color parseColor(String name, Color defaultColor)
public static Color parseColor(String name)
	public static Color parseColor(String name, Color defaultColor)	{		if(name == null)			return defaultColor;		else if(name.startsWith("#"))		{			try			{				return Color.decode(name);			}			catch(NumberFormatException nf)			{				return defaultColor;			}		}		else if("red".equals(name))			return Color.red;		else if("green".equals(name))			return Color.green;		else if("blue".equals(name))			return Color.blue;		else if("yellow".equals(name))			return Color.yellow;		else if("orange".equals(name))			return Color.orange;		else if("white".equals(name))			return Color.white;		else if("lightGray".equals(name))			return Color.lightGray;		else if("gray".equals(name))			return Color.gray;		else if("darkGray".equals(name))			return Color.darkGray;		else if("black".equals(name))			return Color.black;		else if("cyan".equals(name))			return Color.cyan;		else if("magenta".equals(name))			return Color.magenta;		else if("pink".equals(name))			return Color.pink;		else			return defaultColor;	}