code: static Color decode( String value, String defaultValue ) {
  
  		Color result;
  		try {
  			result = Color.decode( value );
  
  		} catch( NumberFormatException e ) {
  			Logger logger = Logger.getLogger( GraphUtils.class.getName());
  			logger.severe( "The specified color " + value + " could not be parsed. Back to default value: " + defaultValue );
  			Utils.logException( logger, e );
  			result = Color.decode( defaultValue );
  		}
  
  		return result;
  	}
docs: Decodes an hexadecimal color and resolves it as an AWT color.
  @param value the value to decode
  @param defaultValue the default value to use if value is invalid
  @return a color (not null)