Function foregroundBrightRed

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

    Example

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

    Returns

    input string with bright red foreground.

    Parameters

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

    Returns string