[DllImport("uxtheme.dll", SetLastError = true)] public static extern COLORREF GetThemeSysColor( IntPtr hTheme, int iColorId );
Microsoft documentation: Link
Last updated 1 year ago