Lazily save and restore colors.