I'm not sure what the problem is now. Like I said, you can't send coloured chat messages to other people.
If you only want to colour the print(), then you should use DEFAULT_CHAT_FRAME:
AddMessage() instead. You can provide rgb values in the parameters so you don't need to format the string yourself.