Colour transitions for tree diagram