FGCO top-level constant

String const FGCO

Start of a 256-colour text (foreground) code; add an index and SGR.

${CSI}38;5;. Append a palette index from 0 to 255 and SGR to finish it: '${FGCO}196$SGR' makes the text bright red. The ready-made *_FG constants and AnsiColour.fg do the same thing.

Implementation

const String FGCO = '${CSI}38;5;';