A kind of flags had been designed for naval battles for the period of the Civil War; those covered distinguishing marks for ships
https://www.hometalk.com/member/262506874/janie1218665
A variety of flags had been designed for naval battles all the way through the Civil War; these incorporated distinguishing marks for ships engaged in fight on rivers and seas alike.