GhPython : Curve color

Is it possible to assign color to a curve i GhPython?
I find rs.ObjectColor() but don’t work with curves

I try this but the vector keep exist even i move the curve or open new document

drct = []
for i in range(3):
    n = i * 0.5
    hor_fr = rs.CurveFrame(C,n)
    x_axis = hor_fr.XAxis
    pt = rs.EvaluateCurve(C,n)
    c_d = rh.Display.CustomDisplay(True)
    vec = rh.Display.CustomDisplay.AddVector(c_d,pt,x_axis)
a = drct

I find solution here