Thermochromism works through different mechanisms, including changes in molecular structure, phase transitions, and plasmonic resonance. For instance, some materials undergo a reversible change in their crystal structure when heated, leading to a change in their optical properties. In nanomaterials, this can be finely tuned by manipulating the size, shape, and composition of the nanoparticles.