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