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:
To avoid this decomposition of silver chloride, it is stored in dark coloured bottles.