Chromatophores function through the expansion or contraction of pigment-containing sacs. This process is controlled by neural or hormonal signals, which cause the pigments to either spread out or concentrate in one area, thereby changing the color of the skin. In cephalopods, for instance, chromatophores work in concert with other structural color mechanisms, such as iridophores and leucophores, to create complex color patterns and textures.