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

x/dxx/src/lib/$deps.ts>$colors.inverse

🚀 (Deno) enhanced executor
Latest
function $colors.inverse
import { $colors } from "https://deno.land/x/dxx@rf/src/lib/$deps.ts";
const { inverse } = $colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string