Colors

Many of Bootstrap’s various components and utilities are built through a series of colors defined in a Sass map. This map can be looped over in Sass to quickly generate a series of rulesets.

All colors

All colors available in Bootstrap 4, are available as Sass variables and a Sass map in scss/_custom-variables.scss file.

Blue
Purple
Pink
Red
Orange
Yellow
Green
Cyan
Gold

Theme colors

We use a subset of all colors to create a smaller color palette for generating color schemes, also available as Sass variables and a Sass map in Bootstraps’s scss/_custom-variables.scss file.

Primary
Secondary
Success
Danger
Warning
Info
Light
Lighter
Dark

Grays

An expansive set of gray variables and a Sass map in scss/_custom-variables.scss for consistent shades of gray across the project.

100
200
300
400
500
600
700
800
900

Theme color selection

The following colors can be used as the primary theme color and are defined in the scss/_custom-variables.scss file. In the theme settings will be an option to change the primary color.

Blue
Purple
Red
Orange
Green
Gold