Different Quad Face Colors

Hello. I need to draw some quads having different colors at front and back faces? Is it possible? If yes, can you please give an example. Thank you.

You can set different front/back color attributes with glMaterialfv for example, you also might want to set glLightModel( GL_LIGHT_MODEL_TWO_SIDE).