Quote from [link]
Only three classes of pigment (ommochromes, bilins and guanine) have been identified in spiders, although other pigments have been detected but not yet characterized. Melanins, carotenoids and pterins, very common in other animals, are apparently absent. In some species the exocuticle of the legs and prosoma is modified by a tanning process, resulting in brown coloration. Bilins are found, for example, in Micrommata virescens, resulting in its green color. Guanine is responsible for the white markings of the European garden spider Araneus diadematus. It is in many species accumulated in specialized cells called guanocytes. In genera such as Tetragnatha, Leucauge, Argyrodes or Theridiosoma, guanine creates their silvery appearance. While guanine is originally an end-product of protein metabolism, its excretion can be blocked in spiders, leading to an increase in its storage. Structural colors occur in some species, which are the result of the diffraction, scattering or interference of light, for example by modified setae or scales. The white prosoma of Argiope results from hairs reflecting the light, Lycosa and Josa both have areas of modified cuticle that act as light reflectors.