Skip to main content
Module

std/fmt/colors.ts>bgRed

Deno standard library
Go to Latest
function bgRed
import { bgRed } from "https://deno.land/std@0.78.0/fmt/colors.ts";

Set background color to red.

Parameters

str: string

text to make its background red

Returns

string