Function bgBlue

  • Set background color to blue.

    Parameters

    • str: string

      The text to make its background blue

    Returns string

    The text with blue background

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

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