New betaines were synthesized to rationalize the reversible thermochromic behavior.
5">The thermochromic properties of the betaines were evaluated by UV–Vis studies.
DFT calculations were conducted to rationalize the optical properties.
5">This is the first attempt to study the color changes in numerous solvents.