Background colors
Solid colors
.bg-*
can apply to any element, where *
is a color name.
.bg-primary (#f18024)
.bg-secondary (#d9dbdc)
.bg-success (#28a745)
.bg-info (#17a2b8)
.bg-warning (#ffc107)
.bg-danger (#dc3545)
.bg-purple (#800080)
.bg-pink (#e83e8c)
.bg-cyan (#00cccc)
.bg-yellow (#ffe007)
.bg-brown (#8d6658)
.bg-dark (#4f4a60)
.bg-aqua (#58b294)
.bg-light-blue (#5bc8eb)
.bg-blue (#3959f7)
.bg-green (#28a745)
Pale colors
.bg-pale-*
can apply to any element, where *
is a color name.
.bg-pale-primary (#ffe7d3)
.bg-pale-secondary (#f7fafc)
.bg-pale-success (#c8e5e8)
.bg-pale-info (#e3f3fc)
.bg-pale-warning (#fcf0e3)
.bg-pale-danger (#fce3e3)
.bg-pale-purple (#e4d2e4)
.bg-pale-pink (#fce3ec)
.bg-pale-cyan (#e3fafc)
.bg-pale-yellow (#fcf8e3)
.bg-pale-brown (#eddcd5)
.bg-pale-dark (#c8c8c8)
Other colors
Some other fade colors are available for background-color.
.bg-white
.bg-transparent
.bg-light
.bg-lighter
.bg-lightest
Border colors
.border-*
can apply to any element, where *
is a color name.
Default color
.border-primary
.border-secondary
.border-success
.border-info
.border-warning
.border-danger
.border-purple
.border-pink
.border-cyan
.border-yellow
.border-brown
.border-dark
.border-white
.border-light
.border-transparent
Text colors
Text colors
.text-*
can apply to any element, where *
is a color name. Please note that you can safely add these classes to an <a>
element.
.text-primary
.text-secondary
.text-success
.text-info
.text-warning
.text-danger
.text-purple
.text-pink
.text-cyan
.text-yellow
.text-brown
.text-dark
.text-mute
.text-light
.text-lighter
.text-fade
.text-white
Hover colors
.hover-*
can apply to any element, where *
is a color name. Please note that you can safely add these classes to an <a>
element.