Contour colors

maybe this question is too simple but anyway:

how to give the color I want to the contour I specify for a 2D histogram?

do I have to assign the contour to a collection of TGraph objects and then use their methods?

For example, I have a 2D histogram my2d with 3 contours associated with it:

my2d->Draw(“cont list”)
TObjArray *cons = gROOT->GetListOfSpecials()->FindObject(“contours”)

And cons has 3 contours objects. Now how can I specify colors to them? Am I on the right track to do the job?

Thanks a lot!

Define a palette with as many colors than you have contours
gStyle->SetPalette(Int_t ncolors , Int_t *colors)