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

x/aleph/std.ts>colors.inverse

The Full-stack Framework in Deno.
Go to Latest
function colors.inverse
import { colors } from "https://deno.land/x/aleph@v0.2.27/std.ts";
const { inverse } = colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string