Color

Use shorthand color utility classes to quickly apply or remove colors.

Icon color

Change icon colors with contextual classes.

Brand

Brand icon colors reinforce Lumen's brand. Use primary and secondary as accents, and dark, grey, and light as neutrals.

<!-- For light backgrounds -->
<i class="chi-icon icon-atom -md -icon--dark" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--primary" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--grey" aria-hidden="true"></i>
<!-- For dark backgrounds -->
<i class="chi-icon icon-atom -md -icon--secondary" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--light" aria-hidden="true"></i>

Semantic

Use semantic text colors to communicate meaning to users. Examples include displaying alerts, form field validation, user status, application state and more. Use green (success) for positive, blue (info) for informative, red (danger) for negative, yellow (warning) for needs attention, and grey (muted) for neutral. Semantic colors should never be used for decorative purposes.

<i class="chi-icon icon-atom -md -icon--success" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--info" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--warning" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--danger" aria-hidden="true"></i>
<i class="chi-icon icon-atom -md -icon--muted" aria-hidden="true"></i>

Background-color

Define background-color classes using the format -bg-{breakpoint}--{value}. Breakpoints supported are sm, md, lg, and xl.

None

Use to render an element with no background-color.

Color Class
Value
Result
-bg--nonebackground: none;

Target specific breakpoints

To target a specific breakpoint, add the breakpoint abbreviation to the class.

Color Class
Value
-bg-sm--noneVisible only from sm
-bg-sm--primaryVisible only from sm
-bg-sm--secondaryVisible only from sm
-bg-sm--whiteVisible only from sm
-bg-sm--blackVisible only from sm
-bg-sm--mutedVisible only from sm
-bg-sm--greyVisible only from sm
-bg-sm--grey-20Visible only from sm
-bg-sm--grey-20Visible only from sm
-bg-sm--grey-30Visible only from sm
-bg-sm--successVisible only from sm
-bg-sm--infoVisible only from sm
-bg-sm--warningVisible only from sm
-bg-sm--dangerVisible only from sm
-bg-md--noneVisible only from md
-bg-md--primaryVisible only from md
-bg-md--secondaryVisible only from md
-bg-md--whiteVisible only from md
-bg-md--blackVisible only from md
-bg-md--mutedVisible only from md
-bg-md--greyVisible only from md
-bg-md--grey-20Visible only from md
-bg-md--grey-20Visible only from md
-bg-md--grey-30Visible only from md
-bg-md--successVisible only from md
-bg-md--infoVisible only from md
-bg-md--warningVisible only from md
-bg-md--dangerVisible only from md
-bg-lg--noneVisible only from lg
-bg-lg--primaryVisible only from lg
-bg-lg--secondaryVisible only from lg
-bg-lg--whiteVisible only from lg
-bg-lg--blackVisible only from lg
-bg-lg--mutedVisible only from lg
-bg-lg--greyVisible only from lg
-bg-lg--grey-20Visible only from lg
-bg-lg--grey-20Visible only from lg
-bg-lg--grey-30Visible only from lg
-bg-lg--successVisible only from lg
-bg-lg--infoVisible only from lg
-bg-lg--warningVisible only from lg
-bg-lg--dangerVisible only from lg
-bg-xl--noneVisible only from xl
-bg-xl--primaryVisible only from xl
-bg-xl--secondaryVisible only from xl
-bg-xl--whiteVisible only from xl
-bg-xl--blackVisible only from xl
-bg-xl--mutedVisible only from xl
-bg-xl--greyVisible only from xl
-bg-xl--grey-20Visible only from xl
-bg-xl--grey-20Visible only from xl
-bg-xl--grey-30Visible only from xl
-bg-xl--successVisible only from xl
-bg-xl--infoVisible only from xl
-bg-xl--warningVisible only from xl
-bg-xl--dangerVisible only from xl

Responsive background-color examples

-bg--primary
-bg-sm--secondary
-bg-md--warning
-bg-lg--danger
-bg-xl--black
-bg--none
<!-- background-color primary on all breakpoints -->
<div class="-bg--primary"></div>
<!-- background-color secondary from sm -->
<div class="-bg-sm--secondary"></div>
<!-- background-color warning from md -->
<div class="-bg-md--warning"></div>
<!-- background-color danger from lg -->
<div class="-bg-lg--danger"></div>
<!-- background-color black from xl -->
<div class="-bg-xl--black"></div>
<!-- background none on all breakpoints -->
<div class="-bg--none"></div>