In most chromogenic IHCLoading..., the detection system carries horseradish peroxidase (HRP) to the bound antibody. Given hydrogen peroxide, HRP oxidizes 3,3′-diaminobenzidine into a brown polymer that precipitates on the spot. Water, alcohol and xylene do not dissolve the precipitate, so it survives dehydration, clearing and permanent mounting, and it fades less quickly than the products of other precipitating peroxidase substrates.
The brown is broad and featureless, absorbing across the visible range and most strongly in the blue. Nickel or cobalt salts added during development turn it gray to black, for a second marker or for contrast. The color has changed, so the stain vector used for color deconvolutionLoading... must change with it.