A form of flags had been designed for naval battles at some point of the Civil War; those incorporated distinguishing marks for ships
https://maps.app.goo.gl/n4zG8UacdpRCF4G5A
A variety of flags were designed for naval battles throughout the Civil War; those protected distinguishing marks for ships engaged in strive against on rivers and seas alike.