A style of flags had been designed for naval battles for the duration of the Civil War; those incorporated distinguishing marks for ships
https://www.hometalk.com/member/259807054/agnes1835022
A number of flags have been designed for naval battles at some stage in the Civil War; these covered distinguishing marks for ships engaged in struggle on rivers and seas alike.