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

x/crayon/src/conversions.ts>ansi4ToAnsi3

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

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

Parameters

code: number

Returns

number