Change color with object rotation
Since blender 2.67 you can write a custom pynode or use Animation Nodes as shown below:





Note: Enable cycles first to access the color of the diffuse shader and use the expression node to get correct color values bellow 1.