A variety of flags had been designed for naval battles all over the Civil War; those incorporated distinguishing marks for ships
https://escatter11.fullerton.edu/nfs/show_user.php?userid=10081848
A form of flags were designed for naval battles for the duration of the Civil War; those covered distinguishing marks for ships engaged in fight on rivers and seas alike.