If the coulour change is the only problem its generally not a big concern as long as you dont have other symptions like fever or abdominal pain or other things like that. Theres lots of reasons for green stool and green urine...
Have you eaten food with a lot of Green colouring in it, or even green leafy veggies in large quantity in it.
Certain medications and also iron supplements,
green bowel movements brought about due to diarrhea.
· A different factor may be mucous. It is present in digestive tract and might lead to the change in color of the stool.
-a change in usual diet
If you don't have a situation producing bile or diarrhea, and you don't have a urinary tract infection/bowel infection, then your green urine and feces is most likely related to something you have taken into your body. Still, when in doubt if it persists, go see a doctor.
Had same problem once doctor gave me this whole lecture