Function black

  • Set text color to black.

    Parameters

    • str: string

      The text to make black

    Returns string

    The black text

    import { black } from "@std/fmt/colors";

    console.log(black("Hello, world!"));