The story
From gray and collar by extension of white-collar and blue-collar, perhaps with gray being seen as intermediate between white and blue.
Etymology from Wiktionary, CC BY-SA 4.0.
Today it means: Of or pertaining to working-class professions that do not involve significant manual labor, such as skilled technical professions, combining elements of blue-collar and white-collar. Full definition →
From gray and collar by extension of white-collar and blue-collar, perhaps with gray being seen as intermediate between white and blue.
Etymology from Wiktionary, CC BY-SA 4.0.