A number of flags were designed for naval battles in the time of the Civil War; these protected distinguishing marks for ships
https://donovanmudt387.image-perth.org/flags-of-the-union-and-confederacy-a-comparative-study
A type of flags had been designed for naval battles right through the Civil War; these blanketed distinguishing marks for ships engaged in wrestle on rivers and seas alike.