function fg256 fg256(fg: number): string Generates an ANSI escape code for setting the text (foreground) color using 8-bit color codes. Parameters fg: number The 8-bit color code for the foreground (0-255). Return Type string The ANSI escape code string for setting the text color.