add colorCode support for new pipe