The color structure of gluon emission