You can tell if you have a sinus infection if your mucus is green.
The color of mucus doesn’t dictate whether you have a bacterial infection — it can be anywhere from white to green, depending on whether a certain protein is in your white blood cells.