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

x/hex/src/lib/stdx/mod.ts>fmt.colors.inverse

An ecosystem delivering practices, philosophy and portability. Powered By Deno and JavaScript.
Latest
function fmt.colors.inverse
import { fmt } from "https://deno.land/x/hex@0.6.5/src/lib/stdx/mod.ts";
const { inverse } = fmt.colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string