function grayView codegray(str: string): stringSet text color to gray. Parametersstr: stringView codetext to make gray Return TypestringView code