Hi,
I don't know Xenforo very well, but just add the CSS anywhere, maybe in the templates, there is a template for personal modifications ?
You just have to add :
iframe.embedly-card {
background: yourcolor or rgb(XXX, XXX, XXX);
}
Instagram have its own background. For Facebook ...