public AnsiStringBuilder AppendBackgroundFormat(ConsoleColor color) { string code = AnsiSgrEscapeCodes.GetBackgroundColorCode(color); if (code == null) { return(this); } return(AppendSgrAnsiEscapeSequence(code)); }
public AnsiStringBuilder AppendBackgroundFormat(byte red, byte green, byte blue) { string code = AnsiSgrEscapeCodes.GetBackgroundColorCode(red, green, blue); return(AppendSgrAnsiEscapeSequence(code)); }