public static GrayFilter createDisabledIconFilter( boolean dark ) {
		return dark
			? new GrayFilter( -20, -70, 100 )
			: new GrayFilter(  25, -25, 100 );
	}
An image filter that turns an image into a grayscale image.
Used for icons in disabled buttons and labels.
flatlaf-core/src/main/java/com/formdev/flatlaf/util/GrayFilter.java