Most large companies are touchy about use of their logos.
Even when they give permission, virtually all of them have logo and style guidelines that they want you to follow. Those guidelines will tell you how to deal with a reverse background.
Further, I gather you are not building this aggregator for free, and you have affiliate deals with some or all of the companies. This is a complex legal contract which you may have clicked past in the blink of an eye, and you may want to take the time to skim it for what it says about brand and logo usage.
The law here? The law (practical) is that if they don't like what you are doing, they hit you with a Cease & Desist, and you stop. Or they threaten to cut off your affiliate payments and you say "yessir!"
The law (actual), if you would rather die on that hill than run your business, is that yeah, you have a limited right to use their names, and possibly their brands and logos, referentially. However, against a well-capitalized granfalloon, the law is less about who's right than who has the stamina for extended litigation. You will get squished unless you're willing to spend 8 hours a day learning to be an amateur lawyer, in which case you can be a tremendous nuisance as a pro-se litigant, at the cost of free time, business, job, spouse, family, etc.