Possible reasons for no color?

Why is my sphere black? I did a copy-paste from the drawSnowMan

http://www.lighthouse3d.com/opengl/glut/index.php?8

with the same result. Why is that?

211 void Scene::renderLights(){
212     
213     for(unsigned int i = 0; i < m_lights.size(); i++){
214         glMatrixMode (GL_MODELVIEW);
215         glPushMatrix (); 
216         glLoadIdentity ();
217             
218     
219         vr::Vec4 lightPosition = m_lights[i].getPosition();
220         glColor3f(1.f,1.f,1.f);
221         glTranslatef(0,0,0);
222         glutSolidSphere(0.25f,20,20);
223        
224       
225         
226         glPopMatrix ();
227     }
228 }

Solved: I was using wrong shader.