A form of flags had been designed for naval battles at some stage in the Civil War; these incorporated distinguishing marks for ships
https://maps.app.goo.gl/xRzwy1FeEgg2kk8K9
A number of flags were designed for naval battles throughout the Civil War; those included distinguishing marks for ships engaged in struggle on rivers and seas alike.