This happens in Megaman 2. During either of your fights against Flashman, defeat him with the Megabuster when he freezes time (and the sparkles are on the screen). This is difficult to time, but if done correctly, the game's colors will remain reversed! If you did this in castle Wily, the colors will stay reversed until you fight Wily.
Submitted by: Dyn721