add color code doc

#525