public static boolean dwmSetWindowAttributeCOLORREF( long hwnd, int attribute, Color color ) {
		// convert color to Windows RGB value
		int rgb = (color == COLOR_NONE)
			? DWMWA_COLOR_NONE
			: (color != null
				? (color.getRed() | (color.getGreen() << 8) | (color.getBlue() << 16))
				: DWMWA_COLOR_DEFAULT);

		// DwmSetWindowAttribute() expects COLORREF as attribute value, which is defined as DWORD
		return dwmSetWindowAttributeDWORD( hwnd, attribute, rgb );
	}
Invokes Win32 API method {@code DwmSetWindowAttribute()} with a {@code COLORREF} attribute value.
See https://learn.microsoft.com/en-us/windows/win32/api/dwmapi/nf-dwmapi-dwmsetwindowattribute
<p>
Supported since Windows 11 Build 22000.

@since 3.3
flatlaf-core/src/main/java/com/formdev/flatlaf/ui/FlatNativeWindowsLibrary.java