Colors

Convey meaning through color with a handful of color utility classes. Includes support for styling links with hover states, too.

Text color

Bootstrap default

.text-primary

.text-secondary

.text-success

.text-danger

.text-warning

.text-info

.text-light

.text-dark

.text-body

.text-muted

.text-white

.text-black-50

.text-white-50

.text-alternate

.text-contrast

.text-darker

.text-black

Background color

Easily set the background of an element to any contextual class. Anchor components will darken on hover, just like the text classes. Background utilities do not set color, so in some cases you’ll want to use .text-* utilities.

Bootstrap default

.bg-primary
.bg-secondary
.bg-success
.bg-danger
.bg-warning
.bg-info
.bg-light
.bg-dark
.bg-alternate
.bg-contrast
.bg-darker
.bg-black

Gradients

You can opt to use gradients background by adding .gradient to any element.

.gradient-purple-blue
.gradient-purple-dark
.gradient-purple-navy
.gradient-blue-purple
.gradient-blue-dark
.gradient-blue-navy
.gradient-navy-blue
.gradient-navy-purple
.gradient-primary-dark
.gradient-primary-light

Alpha colors

Text color

.color-primary

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-secondary

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-success

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-danger

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-warning

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-info

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-light

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-dark

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-alternate

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-contrast

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-darker

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9

.color-black

.alpha-1

.alpha-2

.alpha-3

.alpha-4

.alpha-5

.alpha-6

.alpha-7

.alpha-8

.alpha-9