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 at the site. The precipitate is insoluble in water, alcohol and xylene, so it survives dehydration, clearing and permanent mounting, and it does not fade.
Its color is a broad, featureless brown that absorbs across the visible range, most strongly in the blue. Adding metal salts such as nickel or cobalt during development turns it gray to black, which is used for a second marker or for contrast. That changes its color, so the stain vector used for color deconvolutionLoading... must change with it.