Based on sindresorhus's ansi-styles.js and tootallnate's ansi module. Pretty much yes.