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

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string