function rgb8View codergb8(str: string,color: number): stringSet text color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit Parametersstr: stringView codetext color to apply paletted 8bit colors to color: numberView codecode Return TypestringView code