foreground

open fun foreground(code: Int): Ansi8BitColor

Return a foreground ANSI color code instance for the given code.

Return

an ANSI color code instance

Parameters

code

the color code