Skip to main content
Using Deno in production at your company? Earn free Deno merch.
Give us feedback
Module

x/wcarbon/deps.ts>Colors.inverse

CLI tool for Website Carbon's API
Go to Latest
function Colors.inverse
import { Colors } from "https://deno.land/x/wcarbon@v1.3.2/deps.ts";
const { inverse } = Colors;

Invert background color and text color.

Parameters

str: string

text to invert its color

Returns

string