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

x/pagic/deps.ts>colors.bgRed

A static site generator powered by Deno + React
Go to Latest
function colors.bgRed
import { colors } from "https://deno.land/x/pagic@v1.6.2/deps.ts";
const { bgRed } = colors;

Set background color to red.

Parameters

str: string

text to make its background red

Returns

string