Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/dnt/lib/mod.deps.ts>colors.bgBlack

Deno to npm package build tool.
Go to Latest
function colors.bgBlack
import { colors } from "https://deno.land/x/dnt@0.34.0/lib/mod.deps.ts";
const { bgBlack } = colors;

Set background color to black.

Parameters

str: string

text to make its background black

Returns

string