Hi @nayeemnshaikh
In order to customize or extend the AEM OOB functionality, one needs to overlay in AEM.
In AEM 6.4 version, I have found that the black background header is generated from the location /libs/granite/ui/content/shell/header/actions and noticed that it's marked as granite:internalArea as mixin type.