made cli coloring a bit more flexible