/src/main/java/org/htmlunit/html/HtmlColorInput.java
Integer.valueOf( value.substring( 5, ) , 16) ) ;
Integer.valueOf ( value.substring ( 5, 7 ) , 16 ) ) ;
boolean valid = false; if (value.length() == 7 && value.charAt(0) == '#') { try { new Color( Integer.valueOf(value.substring(1, 3), 16), Integer.valueOf(value.substring(3, 5), 16), <extra_id_0> valid = true; } catch (final NumberFormatException e) { } catch (final IllegalArgumentException e) { }