Refine terminal colours