But look here, and remember the book was published in 1864: https://en.wikipedia.org/wiki/Complementary_colors
Look at the color wheels of that period and earlier, especially this one: https://commons.wikimedia.org/wiki/File:Color_star-en_(terti...
And you see that red is the opposite of green. Why not cyan? I don't know. I guess cyan simply wasn't a well recognized color back then, maybe cyan was called green (a blueish green). Maybe our perception changed with the availability of modern pigments and screens.
As for the color you see when trying the illusion, it is even more interesting because it is actually an impossible color! [1] It doesn't correspond to a wavelength of light or a combination thereof, you can only perceive it through an illusion like this one. If we follow the Wikipedia article, and considering that the afterimage appears on a dark background that would be "stygian cyan". Spooky! Again, the theory was probably unknown in 1864.
Because tradition, and the pigments they used. Red, yellow, blue worked great.
Of course human visual perception is a bit more complex than that but the primary mistake here is mixing up RGB and RYB. Quirks of color perception then result in referring to the resulting color as "green" when it clearly contains blue.
https://en.wikipedia.org/wiki/Blue%E2%80%93green_distinction...