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

x/pagic/deps.ts>colors.inverse

A static site generator powered by Deno + React
Go to Latest
function colors.inverse
import { colors } from "https://deno.land/x/pagic@v1.6.2/deps.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string