ANSISGRColorSpec.palette constructor

ANSISGRColorSpec.palette(
  1. int color
)

Implementation

factory ANSISGRColorSpec.palette(int color) => ANSISGRColorSpec._(
      foregroundAnsiCommand: ANSISGRCommand.foregroundColorPalette(color),
      backgroundAnsiCommand: ANSISGRCommand.backgroundColorPalette(color),
    );