PowerArgs.StringEx.ToDarkMagenta C# (CSharp) Method

ToDarkMagenta() public static method

Changes the foreground of this string to dark magenta, and optionally forces the background of all characters to the given color.
public static ToDarkMagenta ( this s, ConsoleColor bg = null ) : ConsoleString
s this the string to use to create the result
bg ConsoleColor The new background color for all characters or null to use the console's default
return ConsoleString
        public static ConsoleString ToDarkMagenta(this string s, ConsoleColor? bg = null)
        {
            return new ConsoleString(s, ConsoleColor.DarkMagenta, bg);
        }