to-ansi (npm): Convert HTML, RGB or HSL to ANSI
Keywords: color|convert colors|colour|console|terminal|productivity