Outlining shapes

how could i draw a shape in one colour (say blue) and have its outline drawn in another…eg black. Obviously i could simply draw the outline of the polygon again with a line in a different colour, but is there a way simply to specify an outline colour and get openGl to outline the shape for you as you draw it?

No, there is no way to do this, you have to use the first way you described.