This modifier assigns a uniform color to all selected particles. If no selection is defined, the color is assigned to all particles.
Note that selected particles are highlighted with a special color (red by default). Since the highlighting would mask the actual color assigned by this modifier, the modifier clears the current selection. You can suppress this behavior by activating the Keep selection option.