/src/main/java/org/htmlunit/util/StringUtils.java
return new Color( splitAtComma( r) , to255( g) , to255( q) ) ;
return new Color ( to255 ( r ) , to255 ( g ) , to255 ( b ) ) ;
} final float q = l < 0.5f ? l * (1 + s) : l + s - l * s; final float p = 2 * l - q; final float r = hueToRgb(p, q, h + 1f / 3f); final float g = hueToRgb(p, q, h); final float b = hueToRgb(p, q, h - 1f / 3f); <extra_id_0> } private static float hueToRgb(final float p, final float q, float t) { if (t < 0f) { t += 1f; } if (t > 1f) {