public static Color fromString(String value) {
    for (Converter converter : CONVERTERS) {
      Color color = converter.getColor(value);
      if (color != null) {
        return color;
      }
    }
    throw new IllegalArgumentException(
        String.format("Did not know how to convert %s into color", value)
    );
  }
public static Color fromString ( String value ) { for ( Converter converter : CONVERTERS ) { Color color = converter . getColor ( value ) ; if ( color != null ) { return color ; } } throw new IllegalArgumentException ( String . format ( "Did not know how to convert %s into color" , value ) ) ; }
/*
Guesses what format the input color is in.