The w3-badge class styles small counters, such as the number of unread messages.
Add a color class to change the badge's background and text colors.
Messages 4
News 6
Comments 10