void set_color ( Color color )
Set the color that the next vertex will use to be drawn.
I'm guessing you didn't use it in the right order perhaps? Frankly though, depending on what you are actually trying to achieve there might be better way's of achieving it. I'd look into SurfaceTool and MeshDataTool for an example.