A sort of flags were designed for naval battles in the time of the Civil War; those included distinguishing marks for ships
https://www.instapaper.com/read/2046424445
A style of flags had been designed for naval battles all the way through the Civil War; these integrated distinguishing marks for ships engaged in battle on rivers and seas alike.