A form of flags were designed for naval battles for the duration of the Civil War; these incorporated distinguishing marks for ships
https://galimewahjbeuju.bandcamp.com/
A number of flags were designed for naval battles throughout the Civil War; those included distinguishing marks for ships engaged in fight on rivers and seas alike.