Branch colouring