Chromogenic smart materials