Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/dtils/deps.ts>colors.bgBlack

The best unofficial library of utilities for Deno applications
Go to Latest
function colors.bgBlack
import { colors } from "https://deno.land/x/dtils@2.5.0/deps.ts";
const { bgBlack } = colors;

Set background color to black.

Parameters

str: string

text to make its background black

Returns

string