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

x/fresh/src/dev/deps.ts>colors.bgRed

The next-gen web framework.
Extremely Popular
Go to Latest
function colors.bgRed
import { colors } from "https://deno.land/x/fresh@1.6.1/src/dev/deps.ts";
const { bgRed } = colors;

Set background color to red.

Parameters

str: string

text to make its background red

Returns

string