Function bgYellow

  • Set background color to yellow.

    Parameters

    • str: string

      The text to make its background yellow

    Returns string

    The text with yellow background

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

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