change toast color code example
Example 1: change the color of toast toastr js
/* this will set the toastr icon */
#toast-container > .toast-custom {
content: "\f00C";
}
/* this will set the toastr style */
.toast-custom {
background-color: purple;
}
Example 2: change the color of toast toastr js
toastr.info("Click To Open", "more text",{iconClass:"toast-custom"});