Microsoft.Xna.Framework.ColorExtensions.ToParser C# (CSharp) Метод

ToParser() публичный статический Метод

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