Painted rooftops reflect the heat instead of absorbing it, reducing the need for air-conditioning and cutting greenhouse gases. Last summer, New York City endured three heat waves and many days when…