Color gradients on NURBs

I know I can change the color of each vertex of any polygon to obtain a polygon that is smooth shaded with a gradient of those colors.
However, I was wondering if there is a way to achieve a similar effect with GLU for NURBs. I’d like to basically pass different colors attached to the vertices that form the hull of the object and have opengl do the proper interpolation, as the NURB object is being tesselated.

you use the glunurbs to generate your colours in the same way as you do for vertices/tex coord etc.