private static Object parseColorIf( String value, List<String> params, Function<String, String> resolver )
		throws IllegalArgumentException
	{
		if( params.size() != 3 )
			throw newMissingParametersException( value );

		boolean ifCondition = parseCondition( params.get( 0 ), resolver, Collections.emptyList() );
		String ifValue = params.get( ifCondition ? 1 : 2 );
		return parseColorOrFunction( resolver.apply( ifValue ), resolver );
	}
Syntax: if(condition,trueValue,falseValue)
<p>
This "if" function is only used if the "if" is passed as parameter to another
color function. Otherwise, the general "if" function is used.
flatlaf-core/src/main/java/com/formdev/flatlaf/UIDefaultsLoader.java