Back when leaded gas was common, the plugs would run a nice medium brown color. The change to unleaded affected normal color from light gray to a bit of a yellow tint.
The insulator ceramic has a tendency to wear a surface porosity that catches anything that doesn't burn off easily. Stuff in fuel and oil can affect the insulator color depending on what it is. There are additives in both. Fuel additives vary depending on what the bach plants mix in for each customer. Spark plugs are generally grit blasted using any number of different abrasive materials and that just adds to surface porosity of the electrode insulator.