Silver salts are kept in dark bottles because When silver chloride is stored in transparent bottle, it comes directly in contact with light. This triggers the decomposition reaction as follows:
![](https://www.sarthaks.com/?qa=blob&qa_blobid=2033439905469295958)
To avoid this decomposition of silver chloride, it is stored in dark coloured bottles.