Microsoft.Xna.Framework.ColorExtensions.BlueOnly C# (CSharp) Method

BlueOnly() public static method

Returns a new Color using only the Blue value of this color.
public static BlueOnly ( this color ) : Color
color this Object instance.
return Color
        public static Color BlueOnly(this Color color)
        {
            return new Color(0, 0, color.B);
        }