ComponentFactory.Krypton.Ribbon.PaletteRedirectRibbonAeroOverride.LightBackground C# (CSharp) 메소드

LightBackground() 개인적인 메소드

private LightBackground ( Color retColor ) : Color
retColor Color
리턴 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));
        }