You are thinking the right direction. You can see by yourself how you have to change so many places once the color changes. BTW this color could be passed in your border function as well