Skip to main content
Deno 2 is finally here 🎉️
Learn more
Latest
function colors.inverse
import { colors } from "https://deno.land/x/dmm@v2.1.2/tests/integration/up-to-date-deps/deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string