replace cout for RD_ macros
rd in color