Two guys in blue shirts talking.
Two guys talking in matching shirts.
Two guys with matching shirts talking.
In blue shirts talking is a rephrasing of talking in matching shirts.
two guys in blue shirts means they are in matching shirts