If you want it to be just like what you see others doing, ask them for whatever script(s) they are using for it. If they're just using color codes, then use Ctrl-K. Without more specifics, it really isn't possible to answer any more clearly than that.