It depends on the type of plastic and the nature of the coloring.
I have had great success in using simple gasoline (Like your car uses) in cleaning up yellowing, especially if the yellowing is from cigarette smoke and grease.
So my advise would be to pick a small corner of the device that is hopefully on the inside or a place that is not directly visible and from there start trying out various methods, so in case the plastic is sensible to an agent you use the damage will not be too bad. So here's my list of stuff to try:
- Water. Sounds stupid, but all dirt that can be dissolved in water can be cleared a bit, so that is a great starter. Be careful of stickers, labels and such. Screw holes, metal parts and such are prone to keep water in them so good drying is required to prevent rusting.
- Soap. Also sounds stupid but water and soap can do magic and clear up a film of grease and dirt that might be in the way for tougher measures, so usually a must-try.
- Gasoline. Nearly all plastics can be cleaned with gasoline, but a few oddball plastics and foams can be dissolved in gasoline, so best test out on a spot that is not visible from the outside or a spot on the bottom of the case/device. That stuff usually does wonders.
- Rubbing alcohol. Same as gasoline from the usage (test out carefully first), but some dirt is easier to clean with alcohol, some is easier to clean with gasoline - so trying both might be worth it.
- Plastic polish. A last resort and only suitable for perfectly smooth surfaces as you effectively grind off the top layer, do NOT use on any textures surface or it will end up smooth. Usually sold as "Displex" cell phone display polish. Got a bit out of fashion since most phones use rather a glass screen instead of plastic these days.
- H2O2. Can do wonders, especially if combined with UV light. there are loads of tutorials on youtube, so i wont go into detail. Loads of work and can be a bit expensive, but usually yields awesome results for stuff that could not be whitened with the other methods above.
- Airbrush. Kinda cheating and not an option if "everything has to be 100% original", but you have to admit that airbrush painted cases can look pretty neat if you do it right. Plus you can pick the color of your choice. If it's not for collectible reasons but for personal decorative uses then maybe an option.