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

x/crayon/src/styles.ts>ansi8

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

Generate StyleCode from 8bit (256) color pallete

Parameters

code: number
optional
bg: boolean