Color option for Draw

Hi everybody,
I have a probably simple question, but I cannot find an answer. I have made several TLines and draw them on a canvas. Now I want to make some of them in a specific color (say red) and the other ones in another (say blue). But in the documentation for Draw I only find things like a palette. Is there no option like Draw(“red”) or something like this?
Thanks,
Emil

ROOT Version: Not Provided
_Platform:_macOS
Compiler: Not Provided


{
   auto l1 = new TLine(0.1,0.4,0.9,0.4);
   l1->SetLineColor(kRed); l1->Draw();
   auto l2 = new TLine(0.1,0.5,0.9,0.5);
   l2->SetLineColor(kBlue); l2->Draw();
}
1 Like