ANSISGRCommand.foregroundColorRGB constructor

ANSISGRCommand.foregroundColorRGB(
  1. int r,
  2. int g,
  3. int b
)

RGB "true-color" foreground color.

Implementation

factory ANSISGRCommand.foregroundColorRGB(int r, int g, int b) {
  return ANSISGRCommand._('38;2;$r;$g;$b');
}