A form of flags were designed for naval battles at some point of the Civil War; these integrated distinguishing marks for ships
https://numberfields.asu.edu/NumberFields/show_user.php?userid=6964758
A number of flags have been designed for naval battles throughout the Civil War; those blanketed distinguishing marks for ships engaged in combat on rivers and seas alike.