Shifting code from PICAXE to Arduino

Can someone see if this would work for what I am trying to do?

At first sight it will not do what you want.

What type of LED are you using and how are the 3 colours produced ?

Note that you would be well advised not to use digital pin 1 in case Serial output is needed for debugging later.