public static float clamp( float value ) {
		return (value < 0)
			? 0
			: ((value > 100)
				? 100
				: value);
	}
Clamps the given value between 0 and 100.
flatlaf-core/src/main/java/com/formdev/flatlaf/util/ColorFunctions.java