Head gasket failure normally causes white smoke,not black (caused by water getting into the combustion chamber)
Black smoke is invariably fuel related (unburnt,as previously said)
And blue smoke is normally a sign of worn piston rings/cylinders (letting oil into the combustion chamber)