refactor colors to term package