Coloring characteristics of in situ lignin during heat treatment