Hello,
Your friend is indeed correct. Warhips, then and I think now, do carry a compliment of colors of major sefaring nations for saluitng purposes, etc.
Blockade runners carried them for disguise purposes. A number of blockade runners were taken under British colors for example.
Greg Biggs