import os

def replace_color(file_path):
    with open(file_path, 'r', encoding='utf-8') as f:
        content = f.read()

    # Footer
    content = content.replace('background-color: #FAF7F0;', 'background-color: #FFFFFF;')

    with open(file_path, 'w', encoding='utf-8') as f:
        f.write(content)

replace_color('d:\\iss\\Franciscan Society\\index.html')
replace_color('d:\\iss\\Franciscan Society\\about.html')
print("Replaced background colors")
