Skip to main content
Module

x/deno_cache/deps.ts>colors.inverse

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

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string