Tunisia Flag: Meaning and History

History of the flag
It is said that Hussein II Bey, Prince of the Kingdom of Tunis, created the current Tunisian flag in 1835 to distinguish the Tunisian fleet from the Ottoman fleet's ships.
What do the elements of the flag mean?

The star and crescent moon are symbols of Islam.
Red dominates the flag, sharing similarities with the Turkish flag. Indeed, for several centuries Tunisia was under Ottoman rule before becoming a French protectorate in 1881.
Color of purity and peace.
