How can I make an object to cast shadow on different color?

I want an object to cast a shadow in a different color without affecting the rest.
How can i do that?