How to set colors of markups?

Hi there, just a quick question about the customisation of pre-populating linear and angle measurements this way.
Would I be able to include the colour of the angle/line in the code? I tried to use L.SetColor() but never succeeded.
My current code looks like this:

G=getNode('hard tissue')
L=slicer.mrmlScene.AddNewNodeByClass('vtkMRMLMarkupsLineNode')
firstPoint = G.GetNthControlPointPositionVector(4)
L.AddControlPoint(firstPoint)
L.SetName('mastoid height R')

and for the angle: (2 prepopulated points, one by hand)

F=getNode('soft tissue')
H=getNode('EA R intersection')
A=slicer.mrmlScene.AddNewNodeByClass('vtkMRMLMarkupsAngleNode')
firstPoint = F.GetNthControlPointPositionVector(5)
A.AddControlPoint(firstPoint)
secondPoint = H.GetNthControlPointPositionVector(0)
A.AddControlPoint(secondPoint)
A.SetName('ear angle R')

Thank you again for your help!

Display properties are specified in the “display” node associated with the markup node. This separation is useful for many purposes, for example it allows displaying the same markup differently in different views.

To change the color, you can do this:

L.GetDisplayNode().SetColor(1, 0, 1)