Scientists have identified the mechanism that allows fluorescent proteins to switch color in two phases. They are thereby laying the groundwork for new applications in microscopy and functional analyses in biological research.