Skip to main content
Module

x/enzastdlib/vendor/@deno-std-fmt.ts>bgRgb8

enzastdlib is a set of TypeScript modules that follow a common design API philosophy aiming at sane defaults and ease-of-use targeting the Deno TypeScript runtime.
Latest
function bgRgb8
import { bgRgb8 } from "https://deno.land/x/enzastdlib@v0.0.4/vendor/@deno-std-fmt.ts";

Set background color using paletted 8bit colors. https://en.wikipedia.org/wiki/ANSI_escape_code#8-bit

Parameters

str: string

text color to apply paletted 8bit background colors to

color: number

code

Returns

string