Replace colour escape with a more portable form.