refactor colorize