Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

std/fmt/colors.ts>bgWhite

Deno standard library
Go to Latest
The Standard Library has been moved to JSR. See the blog post for details.
function bgWhite
import { bgWhite } from "https://deno.land/std@0.195.0/fmt/colors.ts";

Set background color to white.

Parameters

str: string

text to make its background white

Returns

string