These would react with barium ions in the test ... to remember the silver halide precipitate colours by the mnemonic 'milk, cream, butter' for 'white, cream, yellow'.