/src/main/java/org/htmlunit/util/StringUtils.java
} return null;
return null; }
final int tmpBlue = Integer.parseInt(tmpMatcher.group(3)); final int tmpAlpha = (int) (Float.parseFloat(tmpMatcher.group(4)) * 255); return new Color(tmpRed, tmpGreen, tmpBlue, tmpAlpha); } public static Color findColorHSL(final String token) { if (token == null) { <extra_id_0> final Matcher tmpMatcher = HSL_COLOR.matcher(token); if (!tmpMatcher.find()) { return null; } final float tmpHue = Float.parseFloat(tmpMatcher.group(1)) / 360f; final float tmpSaturation = Float.parseFloat(tmpMatcher.group(4)) / 100f;