SetForegroundColor256 constructor

const SetForegroundColor256(
  1. int color
)

Creates a set foreground color command.

The color must be between 0 and 255, inclusive.

Implementation

const SetForegroundColor256(int color) : color = 0xFF & color;