Thank you for your reply...I hope its the mucus plug... It is often somewhat greenish, but may really have almost any color...
Does this have some unpleasant smell? If yes, it may be pus, but if not I will put my money bet onto mucus plug.
Mucus plug goes in theory shortly before delivery, but in pratcie may go up to 2 weeks earlier.