Skip to main content
Module

std/fmt/colors.ts>inverse

Deno standard library
Go to Latest
function inverse
import { inverse } from "https://deno.land/std@0.95.0/fmt/colors.ts";

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string