Each company usually has their own branding guidelines. I was able to find Google's[1] and Facebook's[2] pretty online.
[1] https://developers.google.com/identity/branding-guidelines
[2] https://developers.facebook.com/docs/facebook-login/web/logi...