Although usually black, it's still likely a fungus gnat. The grower's fruit fly.
They often come in soil mixes, or just find their way into your garden.
They like soils that stay damp, if you let your soils dry out properly between waterings they cannot sustain large numbers.
Just be careful not to go too far and over dry your plants, stressing your plants.
Fungus gnats can go infestation level if you give them enough time without the soil drying out. Hundreds can end up flying around in your tent, before your plants will show stress.
Their larva nibble on the roots a bit, but they are not a catastrophe. They wont ruin your grow like spider mites.
Let your soil dry out until the pots are light in weight between waterings.
Don't let them bother you in small numbers, just be reminded not to water too soon too often.
You can leave yellow sticky paper traps around that the adults will stick to, as another way of keeping their numbers low.
You can leave a jar or bowl of water in there, and some will drown in it.
You can use a non-chemical pesticide, diatomaceous earth, sprinkled on the top of the soil to stop them crawling in to lay eggs.
DE is like chalk - billions of shells of ancient microscopic sea life, diatoms, fossilized. They are ground up and their shells are sharp on the microscopic scale, like glass shards.
They cut the 'skin' of insects, which soon dehydrate and die.
(Some people use sand as a dense barrier top layer for this - others complain it reduces air flow to the roots.)
Some people leave slices of fresh potato on their soil, saying that after a few hours when removed, many of the larva have crawled out of the soil and onto them. I haven't tried that.
Chemical pesticides aren't an easy route, as you'd have to target the larva in the soil as well as the adults, or keep re-attacking the adults until no larva are left.
Again, they usually aren't anything to stress over. Letting your soil dry out is the important thing.
My last batch of store bought soil brought some fungus gnats with it, and I've seen a couple buzzing around my plants each day for a month now. No harm done.
If this proves a problem this grow, use a little perlite in your next soil batch, so it dries out faster.