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

x/fresh/src/server/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.0/src/server/deps.ts";
const { bgRed } = colors;

Set background color to red.

Parameters

str: string

text to make its background red

Returns

string