This might not be a hardware failure at all - inverted colors during printing often points to something fixable in software or settings before you blame the repair job. That said, the timing is suspicious. When I dealt with a similar issue, it turned out the tech had left the printer in a demo or maintenance mode that was still active. Check your printer's display panel (if it has one) or the HP Smart app to see if there's an "Eco Mode" or "Toner Save" setting that's somehow gotten flipped into an inverse mode, or dig into the print preferences on your computer itself.
The other folks mentioning the toner cartridge aren't wrong - definitely reseat it to be thorough. But also look at your actual print driver settings before you call HP back. Go into your printer properties on your computer, hunt for anything labeled "Color," "Output," "Appearance," or "Advanced" and check if something's set to "Negative" or "Invert Colors" or if it's defaulting to a weird profile. Some drivers have gotten confused after a reinstall. If your printer has a web interface (usually accessible by typing its IP address into your browser), log in and poke around the settings there too - sometimes service modes or diagnostic settings get left on by mistake.
If all that turns up nothing, then yes, loop back with HP and tell them you want them to walk through their service configuration before the printer leaves their hands next time. But I'd bet money this clears itself once you find the right toggle.