[console] fixed: color parser under python2