Temperature sensitive, color changing roof to combat global warming

We will invent an affordable method to construct a roof that would absorb the sun's heat energy when the weather is cold and reflect it when the weather is hot. This system may be mechanical, may result from a chemical reaction, or may be accomplished through light reflection or refraction. This system could either be retrofit onto existing structures or included on new construction.