baseball cap
A type of soft cap with a long, stiff bill that may either be curved or flat. The back of the cap may have an adjuster.
Traditionally, the bill is worn forward, shielding the eyes from the sun, but it is also often worn backwards or at other angles. Use backwards hat as well in that case.