These panels reject heat at a rate of up to 70 W/m^2. A good solar panel absorbs 20% of incoming light, which typically peaks at about 1000 W, so a solar panel reduces temperature by 3x as much.
So... you could just do that.
So... you could just do that.