Actually, early experimenters used chlorophyll as a red sensitizing dye. IDK when this was discovered offhand. I had all of the data here on that and posted much of it in another thread. Maxwell's experiment worked, but due to an accidental error on his part. Again, I cannot recall the details.
As for silver halide, it is actually UV colored, but of course we cannot see that so pure AgCl, which is mainy UV sensitive, appears white to us. AgBr is yellow and AgI is orange. Each of these has longer and longer blue sensitivity. Adding a magenta colored dye which sensitizes the silver halide will then extend sensitivity into the green and make the emulsion appear red - magenta to us.
Remember that a highly sensitized emulsion appears visually to have the opposite color of the light it is sensitive to, so a blue sensitive emulsion is yellow and a green sensitive emulsion is yellow-magenta or red. A red sensitive emulsion is greenish or yellow + cyan.
Many of the sensitizing dyes belong to a class called cyanines, merocyanines and etc. The longer the unsaturated chain, the longer the wavelength that a dye sensitizes to. See the full page chart of spectra and dye structures in Mees and James for example. This will give a detailed description of what is going on.
PE