Function foregroundCyan

  • Takes an input string and adds the ANSI codes for cyan foreground.

    Example

    foregroundCyan("Vangware"); // "\x1b[36mVangware\x1b[39m"
    // It can also be used as a tag function for tagged templates:
    foregroundCyan`Vangware`; // "\x1b[36mVangware\x1b[39m"

    Returns

    input string with cyan foreground.

    Parameters

    • input: string | Readonly<TemplateStringsArray>
    • Rest ...expressions: ReadOnlyArray<unknown>

    Returns string