The following is from another forum, hope it helps...
"Gold and blue pipes result because the exhaust is running too hot. There are three reasons for this. The first, most common reasons, is that the bike is running lean. A lean mixture causes exhaust temperature to rise very sharply. A slightly rich mix will not cause blued or yellowed pipes.
However, a very rich mix can result in an extreme case of bluing. This happens when the mix is not completely burned in the combustion chamber, (either due to a too rich mix, malfunctioning coil, burned valve, improper timing, or whatnot) and rather ignites inside the exhaust. This can result in an exhaust pipe that glows red while the bike is running. Only in this extreme case can a too-rich mixture cause bluing.
The common myth that blue is lean and gold is rich (or the reverse) is just that. A myth.
Third, long periods of idle can cause pipes to blue because there isn't any airflow to blow off the heat. (some people let their bikes idle way too long upon start up before they take off)"