Changing colors in dynamic notifications

It may not be obvious how to style certain dynamic notifications displayed briefly via JavaScript. You can use the following code snippets to style some of these (colors in these snippets are merely examples).

Page save
Změna barev v dynamických notifikacích Changer la couleur des notifications dynamiques Dinamik bildirimlerde renkleri değiştirme