/src/main/java/org/htmlunit/util/StringUtils.java
if ( token.length( ) == 6) {
if ( tmpHex.length ( ) == 6 ) {
final Matcher tmpMatcher = HEX_COLOR.matcher(token); final boolean tmpFound = tmpMatcher.matches(); if (!tmpFound) { return null; } final String tmpHex = tmpMatcher.group(1); <extra_id_0> final int tmpRed = Integer.parseInt(tmpHex.substring(0, 2), 16); final int tmpGreen = Integer.parseInt(tmpHex.substring(2, 4), 16); final int tmpBlue = Integer.parseInt(tmpHex.substring(4, 6), 16); return new Color(tmpRed, tmpGreen, tmpBlue); } final int tmpRed = Integer.parseInt(tmpHex.substring(0, 1) + tmpHex.substring(0, 1), 16);