Bootstrap 5 sets contextual classes for colors. This is used to provide meaning through color. The class names include: primary, secondary, success, info, danger, and warning. As well as light and dark.
This color is secondary.
This color indicates success.
This color represents info.
This color indicates danger.
This color serves as a warning.
This color is for dark themes.