How to change color of snackbar?

I tried to used given blocks but only shows dark grey background. please if anyone know how to do tell me.