A form of flags were designed for naval battles all through the Civil War; those incorporated distinguishing marks for ships
https://rautermfew.substack.com/p/behind-the-scenes-preparing-for-a?r=9an1h1&utm_campaign=post&utm_medium=web&showWelcomeOnShare=true
A variety of flags were designed for naval battles for the duration of the Civil War; those protected distinguishing marks for ships engaged in combat on rivers and seas alike.