Chi colors are designed to comply with U.S. Section 508 federal requirements. Section 508 follows the Web Content Accessibility Guidelines (WCAG 2.0) Level AA standards which require text and background color contrast ratios of 4.5:1 or higher. All Chi colors either meet (AA) or exceed (AAA) these standards and have been marked below accordingly.
#0047BB
#48D597
#000000
#001E60
#097A49
#53565A
Neutral palette is an extension of CenturyLink Brand's Dark Grey swatch (Grey 70). Each shade is based off the original hue.
#000000
Used to brand business and corporate content (mastheads, heroes, etc.).
#242526
Used for primary text color on white and low-contrast backgrounds on black.
#313336
Used for low-contrast borders on black and medium-contrast backgrounds on black.
#3F4145
Used for medium-contrast borders on black and high-contrast backgrounds on black.
#53565A
Used for secondary text on white and high-contrast borders on black.
#72767A
Used for muted or disabled text and icons on white.
#8E9399
Used for muted or disabled text and icons on black.
#ACB0B5
Used for high-contrast borders on white.
#D0D4D9
Used for medium-contrast borders on white.
#EDF0F2
Used for low-contrast borders and medium-contrast backgrounds on white.
#F8F9F9
Used for low-contrast backgrounds on white.
#FFFFFF
Used as body background color and primary text color on black.
#097A49
#ABE0C9
#DAF5E9
#EDFAF3
#0047BB
#C0D7FA
#E6F0FF
#F5F8FC
#B50D12
#FCC7C9
#FCE8E9
#FFF5F5
#A66102
#F5CC93
#FAECD9
#FFF8ED
Chi defines colors with Sass language variables.
$colorscheme: (
grey: (
100: #242526,
90: #313336,
80: #3f4145,
70: #53565a,
60: #72767a,
50: #8e9399,
40: #acb0b5,
30: #d0d4d9,
20: #edf0f2,
10: #f8f9f9,
)
);
A utility function has been created to reference them.
set-color($scheme, $tone)
To use it, add chi through npm and import the variables and mixins sass files.
@import '@centurylink/chi/src/chi/_variables';
@import '@centurylink/chi/src/chi/_mixins';
.example {
color: set-color(grey, 60);
}