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

x/udd/deps.ts>colors.inverse

Update Deno Dependencies - update dependency urls to their latest published versions
Very Popular
Go to Latest
function colors.inverse
import { colors } from "https://deno.land/x/udd@0.8.0/deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string