Half of the world's roofs are probably already black or at least dark brown - asphalt shingles, slate, vinyl, many wood varieties.
Based on my cursory googling, it seems that this is indeed the case, since the solar panels absorb the sun's energy, rather than the roof. I'm having a hard time finding reliable sources, but my sense is that those black solar panels may warm the surrounding environment.
e.g. https://e360.yale.edu/features/urban-heat-can-white-roofs-he... (2018)
" Urban Heat: Can White Roofs Help Cool World’s Warming Cities?
It has long been known that installing white roofs helps reduce heat buildup in cities. But new research indicates that making surfaces more light-reflecting can have a significant impact on lowering extreme temperatures – not just in cities, but in rural areas as well. "
> Half of the world's roofs are probably already black or at least dark brown - asphalt shingles, slate, vinyl, many wood varieties.
Fair point. So... Would there be unintended consequences of an increase in the world’s number of black roofs? ;)
Also, heat pumps can be up to 400% efficient, so the electrical energy that comes from a solar panel could actually turn a profit thermally if used to run a heat pump.