
Weapon tiers:
- Gray - Common
- Green - Uncommon
- Blue - Rare
- Purple - Epic
- Orange - Legendary

As you can see in the case of an assault rifle the difference is considerable.

The difference in shotguns is negligible.

Source
These are not all weapons in the game, but I chose only the most interesting ones.
Thank you very much for reading this post, and please for a upvotes :)!