Link coloring is used for path selection in traffic engineering or load balancing in MPLS and SD-WAN networks.