Skip to main content
The Deno 2 Release Candidate is here
Learn more
Go to Latest
function colors.inverse
import { colors } from "https://deno.land/x/fathym_ioc@v0.0.7/src/src.deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string