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

x/crayon/mod.ts>ansi4ToAnsi3

🖍️ Terminal styling done light and fast.
Latest
function ansi4ToAnsi3
Re-export
import { ansi4ToAnsi3 } from "https://deno.land/x/crayon@3.3.3/mod.ts";

Converts 4Bit (16) ANSI color representation to 3Bit (8) ANSI

Parameters

code: number

Returns

number