public static Color parseColorFromProperties(Properties p,String propName,String dfault) throws NumberFormatException {
  String colorString=p.getProperty(propName,dfault);
  return parseColor(colorString,true);
}

public static Color parseColorFromProperties ( Properties p , String propName , String dfault ) throws NumberFormatException { String colorString = p . getProperty ( propName , dfault ) ; return parseColor ( colorString , true ) ; }
take a string from a properties file , representing the 24bit rgb or 32bit argb hex values for a color , and convert it to a java . awt . color .
