The problem could be the program that you are printing from. For instance, if you did a test print using MS Word, the problem could be with MS Word, not the printer itself.
To verify where the problem is, use the "Print Test Page" function in the printer folder.
Open the Control Panel/Printer & Fax (if using Windows XP) and then right click on the HP Officejet 5510 All-in-one entry and choose Properties.
In the Print folder, click the Print Text Page and wait while it prints. If the print out shows the same error, try downloading/installing a new print driver from
HP.
If the driver installation does not correct the problem, you could have a faulty color ink jet cartridge. For this, I suggest you contact HP technical support via email (to avoid fee) and seek their advice. You can sometimes use the chat support line which I find very useful. See the HP Support page for information on this.
If the Test Print is correct, go back to the program that you originally printed from to seek printer help with that program. Also, the color management of the monitor may need adjusting. Right click on any blank portion of the Desktop and choose Properties. In the Display Properties window, choose Settings/Advanced and Color management. This window varies depending upon what hardware is installed, but you should see a tab related to color adjustment.
I hope something here will help.
Dwight