Chromotropism of coordination compounds and its applications in solution