I am looking a fantasy novel, possibly part of a series. I don’t remember much but the hero travels to a city where he is imprisoned into a cell, then he then fashions and animates a straw mannequin with magic to break out.
The magic system might be based on color wavelengths or be something about multicolored or prismatic, or light-weaving magic, thought it may possibly be from another book.
(N.B. definitely not Pratchett’s extra colour nor "Sir Apropos of Nothing" light strands magic weaving system nor the unraveling of magic traps based on strands like in several books)