Function gray

  • Sets the color of text to be printed to gray.

    Parameters

    • str: string

      Text to make gray

    Returns string

    Gray text for print

    import { gray } from "@std/internal/styles";

    console.log(gray("Hello, world!")); // Prints "Hello, world!" in gray