The w3-panel class can be used to display alerts.
Alerts are often displayed using a strong color:
Red often indicates a dangerous or negative situation.
Yellow or orange often indicates a warning that might need attention.
Green often indicates something successful or positive.
Blue often indicates a neutral informative change or action.