A style of flags were designed for naval battles for the duration of the Civil War; those included distinguishing marks for ships
https://g4fwh.mssg.me/
A variety of flags were designed for naval battles at some point of the Civil War; those integrated distinguishing marks for ships engaged in struggle on rivers and seas alike.