Background colors
Solid colors
.bg-*
can apply to any element, where *
is a color name.
.bg-primary (#ba69aa)
.bg-secondary (#e4e7ea)
.bg-success (#05b085)
.bg-info (#69cce0)
.bg-warning (#ffd13f)
.bg-danger (#ef483e)
.bg-purple (#6f42c1)
.bg-pink (#e83e8c)
.bg-cyan (#00cccc)
.bg-yellow (#ffe007)
.bg-brown (#8d6658)
.bg-dark (#343a40)
.bg-aqua (#58b294)
.bg-light-blue (#95e1f1)
.bg-blue (#69cce0)
.bg-green (#05c170)
Pale colors
.bg-pale-*
can apply to any element, where *
is a color name.
.bg-pale-primary (#e1dcff)
.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.