ANSISGRColorSpec.rgb constructor

ANSISGRColorSpec.rgb(
  1. int r,
  2. int g,
  3. int b
)

Implementation

factory ANSISGRColorSpec.rgb(int r, int g, int b) => ANSISGRColorSpec._(
      foregroundAnsiCommand: ANSISGRCommand.foregroundColorRGB(r, g, b),
      backgroundAnsiCommand: ANSISGRCommand.backgroundColorRGB(r, g, b),
    );