Skip to main content
Deno 2 is finally here 🎉️
Learn more
Module

x/terminal_images/deps.ts>colors.inverse

A Deno module and CLI tool for printing images to the console. 🖼️
Latest
function colors.inverse
import { colors } from "https://deno.land/x/terminal_images@3.1.0/deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string