ComponentFactory.Krypton.Ribbon.PaletteRedirectRibbonAeroOverride.LightBackground C# (CSharp) Method

LightBackground() private method

private LightBackground ( Color retColor ) : Color
retColor Color
return Color
        private Color LightBackground(Color retColor)
        {
            // With a light background we force the color to be dark in normal state so it stands out
            return Color.FromArgb(Math.Min(retColor.R, (byte)60),
                                  Math.Min(retColor.G, (byte)60),
                                  Math.Min(retColor.B, (byte)60));
        }