A form of flags were designed for naval battles during the Civil War; these covered distinguishing marks for ships
https://sergioxewj354.opalvector.com/posts/civil-war-flag-history-what-every-collector-should-know-3
A number of flags were designed for naval battles at some stage in the Civil War; these included distinguishing marks for ships engaged in wrestle on rivers and seas alike.