I don't know about buttons and badges, but organizational affiliations are prominently displayed in colors that contrast to the background----usually white on dark blue---in order to distinguish quickly and clearly who is with which agency, especially in confusing situations that involve large numbers of cops and criminals, such as raids.