When using the arc API call how do I change the drawing color so I get different colour arcs?

Can someone also give me an example of the arc function being used.

Thanks, it would help me out a great deal.