Add head and tail colouring.