Pharrell Williams stole the attention of a fashionable Grammy crowd with his wacky hat.