The color code on dog collars in CDMX aims to prevent incidents and improve coexistence between pets and people.