Red cabbage turns green when you add alkali. This is because the anthocyanins in red cabbage are pH indicators, which means that they change colour depending on the pH of the solution they are in. In an acidic solution, anthocyanins are red, but in an alkaline solution, they turn green.