Types of pregnancy tests

Hey, is there a differenece between pink/blue dye & electronic pregnancy tests? I thought they were all the same but I saw a post and everyone in the comments were specifially saying pink dye so im just wondering is there a difference?