Dual-mode strain sensor with visible spectrum color switching and resistive responses for complex deformation monitoring | Synapse