@bix you should take a look at CSS Variables www.w3schools.com/css/css3_...

makes the process super easy.