Baka_MPlayer.Controls.ColorSlider.LightenColors C# (CSharp) Method

LightenColors() public static method

Lightens colors from given array.
public static LightenColors ( ) : Color[]
return Color[]
        public static Color[] LightenColors(params Color[] colorsToLighten)
        {
            var colorsToReturn = new Color[colorsToLighten.Length];
            for (int i = 0; i < colorsToLighten.Length; i++)
            {
                colorsToReturn[i] = ControlPaint.Light(colorsToLighten[i]);
            }
            return colorsToReturn;
        }