Web developers used to hard-code all of their style data. If a button needed a background color of blue, they’d assign the…