Skip to main content
The Deno 2 Release Candidate is here
Learn more
Module

x/deno_cache/deps.ts>colors.inverse

Deno CLI's module cache
Latest
function colors.inverse
import { colors } from "https://deno.land/x/deno_cache@0.7.1/deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string