public Color GeBoxColor()
        {
            try
            { clr.SetFromHex(tbC.Text); }
            catch
            { return(Colors.White); }

            return(clr.GetColor());
        }
        private void clickContextMenu(object sender, EventArgs e)
        {
            AColor clr;

            if (sender is MenuItem)
            {
                string header = (sender as MenuItem).Header as string;

                if (AColors.AColorsDict.ContainsKey(header))
                {
                    clr        = AColors.AColorsDict[header];
                    tbC.Text   = clr.ToHex();
                    rectC.Fill = new SolidColorBrush(clr.GetColor());
                }
            }
        }