Bootstrap 5 and Color

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 is the theme's primary color.

Secondary

This color is secondary.

Success

This color indicates success.

Info

This color represents info.

Danger

This color indicates danger.

Warning

This color serves as a warning.

Dark

This color is for dark themes.