RGB verts + lighting possible?

is it possible to have a polygon that shows the vert’s RGBs with lighting turned on?

I create a triangle with (you guessed it) a red vertex, a blue vertex, and a green vertex. When I turn lighting on, the whole triangle shows up as white/dark depending on angle to light source.

On a related note, is it possible to have the RGBs show through the texturing to give the texture a tint?

For the first problem, enable GL_COLOR_MATERIAL.

For the second, yes, if the texture environment mode is GL_MODULATE.