add color code mode