As a guest at the wedding a coloured shirt with a tie should be fine.