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

ToParser() public static method

Converts a color to the format used by SadConsole.ParseCommandRecolor command.
public static ToParser ( this color ) : string
color this The color to convert.
return string
        public static string ToParser(this Color color)
        {
            return $"{color.R},{color.G},{color.B},{color.A}";
        }