What does "hatband" mean?

Hatband: A band round the crown of a hat; sometimes, a band of black cloth, crape, etc., worn as a badge of mourning.

Sources