Star Trek: The Next Generation
For ranks from Petty Officer to Captain you could see on the right collar of the uniform (Seasons 3-7) or on the collar bone area of the uniform (Seasons 1-2), were gold pips, an outline, or solid, that defined the rank of the officer.