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

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

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

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string