Behind-the-scenes implementation of color with functional saving of color state.