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

x/crayon/src/styles.ts>ansi4

🖍️ Terminal styling done light and fast.
Go to Latest
function ansi4
import { ansi4 } from "https://deno.land/x/crayon@3.3.2/src/styles.ts";

Generate StyleCode from 4bit (16) color pallete

Parameters

code: number
optional
bg: boolean