Making a RGB LED run through a fade and using a button to pause it

Hi I'm working on making a RGB LED crossfade (using this code: https://www.arduino.cc/en/Tutorial/ColorCrossfader) but I want to add a pause button so the Arduino Uno can report to the Serial Monitor the current color so I can save it. I found a post that may help, (here: Rgb led with stop button? - Project Guidance - Arduino Forum) but I don't understand how to add it to the code. I'm a noob so I don't know how to write code yet. Any help will be appreciated thanks!

I'm a noob so I don't know how to write code yet.

It is a pity because what you want to do is not exactly beginners stuff. You need to write your code as a state machine.
See my
http://www.thebox.myzen.co.uk/Tutorial/State_Machine.html
Or Robin2's several things at once
http://forum.arduino.cc/index.php?topic=223286.0
Then you simply check for your button every time round the loop. But as I said it is not beginners stuff, try learning some simple coding first.

I know the basics of code but not how to format it.

Natep13:
I know the basics of code but not how to format it.

Formatting it is cosmetic in this language. I suspect you are using the wrong word here.

Did you read those links?