How do you color inside of circles?

I am working on a program to draw a CBS logo. I have the outside drawn, but I want to color inside the circles and ellipses to distinguish it better.

I use a glBegin(GL_LINE_LOOP) and then I go into my “for” loop. I have tried inserting the glColor3f( r,g,b) after the glBegin and also tried inserting it before the “glBegin” line.

Can anyone help? Thanks!

GL_LINE_LOOP only draws… lines.

For drawing a disc (filled circle), use GL_TRIANGLE_FAN, and specify the same vertices, it should work. Beware of the backface culling, you may see only one side of the disc.

See the doc :