Dying my hair

Rebekah

I’m dying my hair but I’m also getting a hair cut. Does it make a difference if I cut and then color? Or should I color and then cut? My ends are badly damaged, hence the hair cut. I was just wondering if coloring it after cutting it would hurt the new ends.