Why chefs wear white hats
In response to your question, white makes them look smart. Again, they can easily see if something stains it. If the hat can stain, then you better be careful as you are dealing with food. So the white hat serves two purposes - aesthetics and neatness.