private void dumpColor( PrintWriter out, String key, Color color ) {
		Color[] retBaseColor = new Color[1];
		Color resolvedColor = resolveDerivedColor( key, color, retBaseColor );
		if( resolvedColor != color && resolvedColor.getRGB() != color.getRGB() ) {
			if( !isIntelliJTheme ) {
				System.err.println( "Key '" + key + "': derived colors not equal" );
				System.err.println( "  Default color:  " + dumpColorHexAndHSL( color ) );
				System.err.println( "  Resolved color: " + dumpColorHexAndHSL( resolvedColor ) );
				System.err.println( "  Base color:     " + dumpColorHexAndHSL( retBaseColor[0] ) );
			}

			out.printf( "%s / ",
				dumpColorHexAndHSL( resolvedColor ) );
		}

		out.printf( "%s    %s",
			dumpColorHexAndHSL( color ),
			dumpClass( color ) );

		if( color instanceof DerivedColor ) {
			out.print( "   " );
			DerivedColor derivedColor = (DerivedColor) color;
			for( ColorFunction function : derivedColor.getFunctions() ) {
				out.print( " " );
				out.print( function.toString() );
			}
		}
	}
Dumps look and feel UI defaults to files.

@author Karl Tauber
flatlaf-testing/src/main/java/com/formdev/flatlaf/testing/uidefaults/UIDefaultsDump.java