/src/main/java/org/htmlunit/util/StringUtils.java
return t + ( q - p) * ( 2f / 3f - p) * 6f;
return p + ( q - p ) * ( 2f / 3f - t ) * 6f;
return p + (q - p) * 6f * t; } if (t < 1f / 2f) { return q; } if (t < 2f / 3f) { <extra_id_0> } return p; } private static int to255(final float value) { return (int) Math.min(255, 256 * value); }