In the past when normal Sea going rig was a pair of blue shorts and sandals on the uppers and stokers who wore the most thrashed out blue overalls, nobody cared, it was working rig and seaman chipped and painted and cleaned and scrubbed and yes they got dirty. That's what the change to evening rig was all about after shower and before dinner.
If they wanted to be sensible and safe they should have followed commercial seafarers and dressed everyone at sea in orange overalls, otherwise why the expense of the change? Naturally if going ashore in uniform then neat clean and tidy should prevail not the grubby camos they've been working in all day.