Color changing....

I was curious how to change the color of an object after a few iterations of it.
As in, if the object is re drawn say 2 times on the 3rd it would change its color.
I have tried a number of things but it does not seem to have any effect.
I am a rather experienced C++ programmer and what would work in a C++ program is not working in OpenGL (using glut).
If some code samples are needed (generic) let me know and I will post them, or a more clear discription.
Thank you in advance for the help.

If you are drawing and defining your your object/color inside a display list you cannot modify this after it has been created.
post a code snippet so we can see more clearly your problem.

Thanks for the help, but i figured it out myself…