Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too.
Colors on BootstrapName |
Background Color |
Background Subtle |
Background Gradient |
Background Opacity |
||||
---|---|---|---|---|---|---|---|---|
Primary |
.bg-primary
|
.bg-primary-subtle
|
.bg-primary
|
.bg-primary
|
||||
Secondary |
.bg-secondary
|
.bg-secondary-subtle
|
.bg-secondary
|
.bg-secondary
|
||||
Success |
.bg-success
|
.bg-success-subtle
|
.bg-success
|
.bg-success
|
||||
Info |
.bg-info
|
.bg-info-subtle
|
.bg-info
|
.bg-info
|
||||
Warning |
.bg-warning
|
.bg-warning-subtle
|
.bg-warning
|
.bg-warning
|
||||
Danger |
.bg-danger
|
.bg-danger-subtle
|
.bg-danger
|
.bg-danger
|
||||
Purple |
.bg-purple
|
.bg-purple-subtle
|
.bg-purple
|
.bg-purple
|
||||
Light |
.bg-light
|
.bg-light-subtle
|
.bg-light
|
.bg-light
|
||||
Dark |
.bg-dark
|
.bg-dark-subtle
|
.bg-dark
|
.bg-dark
|
Name | Text Color | Text Emphasis | Text Opacity | Link Color | ||||
---|---|---|---|---|---|---|---|---|
Primary |
.text-primary
|
Primary Color Text
|
.text-primary-emphasis
|
Primary Emphasis Text
|
.text-primary
|
Primary Color Text
|
.link-primary
|
Primary Link |
Secondary |
.text-secondary
|
Secondary Color Text
|
.text-secondary-emphasis
|
Secondary Emphasis Text
|
.text-secondary
|
Secondary Color Text
|
.link-secondary
|
Secondary Link |
Success |
.text-success
|
Success Color Text
|
.text-success-emphasis
|
Success Emphasis Text
|
.text-success
|
Success Color Text
|
.link-success
|
Success Link |
Info |
.text-info
|
Info Color Text
|
.text-info-emphasis
|
Info Emphasis Text
|
.text-info
|
Info Color Text
|
.link-info
|
Info Link |
Danger |
.text-danger
|
Danger Color Text
|
.text-danger-emphasis
|
Danger Emphasis Text
|
.text-danger
|
Danger Color Text
|
.link-danger
|
Danger Link |
Warning |
.text-warning
|
Warning Color Text
|
.text-warning-emphasis
|
Warning Emphasis Text
|
.text-warning
|
Warning Color Text
|
.link-warning
|
Warning Link |
Purple |
.text-purple
|
Purple Color Text
|
.text-purple-emphasis
|
Purple Emphasis Text
|
.text-purple
|
Purple Color Text
|
.link-purple
|
Purple Link |
Dark |
.text-dark
|
Dark Color Text
|
.text-dark-emphasis
|
Dark Emphasis Text
|
.text-dark
|
Dark Color Text
|
.link-dark
|
Dark Link |
Light |
.text-light
|
Light Color Text
|
.text-light-emphasis
|
Light Emphasis Text
|
.text-light
|
Light Color Text
|
.link-light
|
Light Link |
Body |
.text-body
|
Body Color Text
|
.text-body-emphasis
|
Body Emphasis Text
|
- | - | - | - |
Body |
.text-body-secondary
|
Body Secondary Color
|
.text-body-tertiary
|
Body Tertiary Text
|
- | - | - | - |
Black |
.text-black
|
Black Color Text
|
.text-black-50
|
Black 50% Text
|
- | - | - | - |
White |
.text-white
|
White Color Text
|
.text-white-50
|
White 50% Text
|
- | - | - | - |
Use border utilities to add an element’s borders. Choose from all borders or one at a time.
Use border utilities to remove an element’s borders. Choose from all borders or one at a time.
Change the border color using utilities built on our theme colors.
Change the border color using utilities built on our theme colors.
choose from any of the .border-opacity
utilities:
Easily configure layout, styles, and preferences for your admin interface.