This is a nice looking effect that fades through all different colors. A weaker version that lacks posibility to change the periodic time (but still very nice looking) can be seen at http://www.youtube.com/watch?v=OjzSu8YoQMA. Through the youtube link can the complete source code be fetched.