A lesson on color codes of register