ansiBackgroundSequence property
String
get
ansiBackgroundSequence
Build ANSI sequence for this colour as a background.
Implementation
String get ansiBackgroundSequence {
if (this is ResetColor) {
return ansiResetBackground;
}
return (a != 255) ? '48;2;$r;$g;$b;$a' : '48;2;$r;$g;$b';
}