Examples of metaphors in The Red Badge of Courage are as follows;
"In the eastern sky there was a yellow patch like a rug laid for the feet of the coming sun; and against it, black and patternlike, loomed the gigantic figure of the colonel on the gigantic horse".
"In the gloom before the break of the day their uniforms glowed a deep purple hue."
"When another night came, the columns, changed to purple streaks, filed across two pontoon bridges."
The Red Badge of Courage