A form of flags had been designed for naval battles throughout the time of the Civil War; those included distinguishing marks for ships
https://www.hometalk.com/member/259808284/terry1100190
A variety of flags were designed for naval battles for the time of the Civil War; those integrated distinguishing marks for ships engaged in struggle on rivers and seas alike.