While Officers had them from about 1750, ordinary British sailors were not issued with uniforms until 1857.
What pictures before 1857 show is what some Captains provided for their crews themselves - it was not official issue and it could be any colour the Captain wanted.
While blue was the most usual, one Irish Captain had his boat's crew in green and the Captain of HMS Blazer is supposed to have had his dressed in jackets with stripes which is why striped jackets are still called "blazers" in England to this day.