public static Color stringToColor(String str){
  int icol=SVG_COLOR_NAMES.get(str.toLowerCase());
  if (icol != NO_VALUE) {
    return new Color(icol,false);
  }
  return colorLookupStylesheet.stringToColor(str);
}

public static Color stringToColor ( String str ) { int icol = SVG_COLOR_NAMES . get ( str . toLowerCase ( ) ) ; if ( icol != NO_VALUE ) { return new Color ( icol , false ) ; } return colorLookupStylesheet . stringToColor ( str ) ; }
convert a color name from svg syntax to an awt color object .
