Thanks for reaching out. Earlier reponse is absolutely correct.
You need to deselct the object in order to remove the green line. Green color is the layer color which comes up when the layer objects are highlighted. I have attched a GIF as well for your reference.
Hope it helps. If there is any other concern, feel free to contact us. We'll be glad to assist.