Green ulcer?

I had a patient come in with a green wound on the bottom of the foot. No his daughter did not color the thick line around it. What do you think happened?

Some may think it was an infection but once we trimmed off the ring around the wound (callus) it was normal again. The green was from new socks that he got that caused a stain on the wet skin around the edge of the ulcer.