private void currentActiveAccentColorToolStripMenuItem_Click(object sender, EventArgs e)
        {
            Color systemActiveAccentColor = WindowCustomizationUtility.GetActiveAccentColor();

            Red   = systemActiveAccentColor.R;
            Green = systemActiveAccentColor.G;
            Blue  = systemActiveAccentColor.B;
        }
        private void exportAccentColorsToolStripMenuItem_Click(object sender, EventArgs e)
        {
            SaveFileDialog saveFileDialog = new SaveFileDialog();

            saveFileDialog.Filter           = "Windows Registry files (*.reg)|*.reg|All files (*.*)|*.*";
            saveFileDialog.RestoreDirectory = true;

            if (saveFileDialog.ShowDialog() == DialogResult.OK)
            {
                Color inactiveAccentColor = WindowCustomizationUtility.GetInactiveAccentColor();
                Color activeAccentColor   = WindowCustomizationUtility.GetActiveAccentColor();
                _windowColor.SaveAccentColorsToRegFile(inactiveAccentColor, activeAccentColor, saveFileDialog.FileName);
            }
        }
        private void autoBtn_Click(object sender, EventArgs e)
        {
            var accentColor = WindowCustomizationUtility.GetActiveAccentColor();

            var rgb = new Rgb(accentColor.R, accentColor.G, accentColor.B);
            var hsl = rgb.To <Hsl>();

            hsl.L *= 1.65;
            rgb    = hsl.To <Rgb>();

            Red   = (int)rgb.R;
            Green = (int)rgb.G;
            Blue  = (int)rgb.B;
        }