install npm i e-color usage import { Rgb } from "e-color" const c1 = new Rgb(COLORS.White) expect(c1.toHex()).toEqual("FFFFFF") expect(new Rgb("FFFFFF").toBgr().toHex()).toEqual("FFFFFF") bench update bench pnpm bench --run | ansi2 > ./assets/bench.svg