A kind of flags were designed for naval battles throughout the Civil War; those included distinguishing marks for ships
https://shaneheqp027.slatecurrent.com/posts/the-art-of-flag-making-crafting-authentic-civil-war-flags-for-reenactments-3
A variety of flags were designed for naval battles right through the Civil War; these integrated distinguishing marks for ships engaged in wrestle on rivers and seas alike.