private static String toDimmedText( String text ) {
		Color color = UIManager.getColor( "Label.disabledForeground" );
		if( color == null )
			color = UIManager.getColor( "Label.disabledText" );
		if( color == null )
			color = Color.GRAY;
		return String.format( "<span color=\"#%06x\">%s</span>",
			color.getRGB() & 0xffffff, text );
	}
Installs a key listener into the application that allows enabling and disabling
the UI inspector with the given keystroke (e.g. "ctrl shift alt X").

@param activationKeys a keystroke (e.g. "ctrl shift alt X"), or {@code null} to use "ctrl shift alt X"
flatlaf-extras/src/main/java/com/formdev/flatlaf/extras/FlatInspector.java