Colors
The following demonstrates what variables and classes are available for use of color. Note that any class can be turned into a foreground color class by removing the bg-
part. Hover over any swatch to see it’s class.
Theme colors
All these colors are managed in the $theme
SASS variable. The brand-specific primary and secondary greens are the following:
.color-bg-green-primary-emerald
.color-bg-green-primary-spring
.color-bg-green-secondary-forest
Alternatives and other colors available to follow the pallet if needed:
.color-bg-green-secondary-light
.color-bg-blue-light
.color-bg-blue-dark
.color-bg-yellow-light
.color-bg-yellow-dark
.color-bg-orange-light
.color-bg-orange-dark
.color-bg-red-light
.color-bg-red-dark
Grays
All these colors are managed in the $grays
SASS variable.
.color-bg-gray-dark
.color-bg-gray-medium
.color-bg-gray-medium-light
.color-bg-gray-light
.color-bg-gray-lighter
.color-bg-gray-lightest
Black and white
Black and white are stored as vairables, $color-black
and $color-white
. The black is a specific off-black color.
.
.color-bg-white
.color-bg-black
Data colors
All these colors are managed in the $colors-data
SASS variable, but note that that each one is a list of colors to be possibly used as a ramp. Only including background versions for brevity, forground versions exist.
Considering using Color Oracle to test how colorblind uses might see colors used for data. For alternative sets, look at Color Brewer.
.color-bg-data-reds-*
.color-bg-data-reds-1
.color-bg-data-reds-2
.color-bg-data-reds-3
.color-bg-data-reds-4
.color-bg-data-reds-5
.color-bg-data-oranges-*
.color-bg-data-oranges-1
.color-bg-data-oranges-2
.color-bg-data-oranges-3
.color-bg-data-oranges-4
.color-bg-data-oranges-5
.color-bg-data-blues-*
.color-bg-data-blues-1
.color-bg-data-blues-2
.color-bg-data-blues-3
.color-bg-data-blues-4
.color-bg-data-blues-5
.color-bg-data-greens-*
.color-bg-data-greens-1
.color-bg-data-greens-2
.color-bg-data-greens-3
.color-bg-data-greens-4
.color-bg-data-greens-5
.color-bg-data-grays-*
.color-bg-data-grays-1
.color-bg-data-grays-2
.color-bg-data-grays-3
.color-bg-data-grays-4
.color-bg-data-grays-5
.color-bg-data-light-blue-*
.color-bg-data-light-blue-1
.color-bg-data-light-blue-2
.color-bg-data-light-blue-3
.color-bg-data-light-blue-4
.color-bg-data-light-blue-5
.color-bg-data-light-blue-6
.color-bg-data-categories-*
.color-bg-data-categories-1
.color-bg-data-categories-2
.color-bg-data-categories-3
.color-bg-data-categories-4
.color-bg-data-divergent-*
Note that this set is colorblind safe.
.color-bg-data-divergent-1
.color-bg-data-divergent-2
.color-bg-data-divergent-3
.color-bg-data-divergent-4
.color-bg-data-divergent-5
.color-bg-data-political-parties-*
.color-bg-data-political-parties-1
.color-bg-data-political-parties-2
.color-bg-data-political-parties-3
.color-bg-data-political-parties-4
.color-bg-data-political-parties-5
Political colors
Stored in the $colors-political
variable.
.color-bg-political-r
.color-bg-political-gop
.color-bg-political-d
.color-bg-political-dfl