Returns the ANSI escape sequence for the background color.
If the color is dimmed, returns a compound escape sequence that includes both the dim code (2) and the color code.
@override String get bg => _dim ? '2;$bgCode' : '$bgCode';