Originally Posted by
EWR764
I believe pilots are always encouraged to wear hats and jackets in the airport environment. For CO, IIRC only pilots working international flights are required to wear hat and jacket while transiting the airport.
I once had a pilot friend of mine who preferred not wearing his "Ralph Kramden bus driver's hat" as he liked to call it...

photo courtesy of cbsnews.com
Some airlines don't even have hats for their pilots (B6, WN).