import { ansi8ToAnsi4 } from "https://deno.land/x/crayon@3.3.2/src/conversions.ts";
Converts 8Bit (256) ANSI color representation to 4Bit (16) ANSI
This is slightly modified ansi256.rgb conversion from https://github.com/Qix-/color-convert/blob/master/conversions.js