The color palette is an essential asset as a communication resource of our Design System.
Halstack color palette brings a unified consistency and helps in guiding the user's perception order. Our color palette is based in the HSL model. All our color families are calculated using the lightness value of the standard DXC palette colors.
Color tokens
Halstack uses tokens to manage color. Apart from a multi-purpose greyscale family, purple and blue are the core color families used in our set of components. Additional families as red, green and yellow help as feedback role-based color palettes and must not be used outside this context.
Core color tokens
Core color families values
Absolutes
Name
Value (hex)
Value (hsl)
color-white
#ffffff
(0, 0%, 100%)
color-black
#000000
(0, 0%, 0%)
color-transparent
transparent
-
Greyscale
Solid variants
Name
Value (hex)
Value (hsl)
color-grey-50
#fafafa
(0, 0%, 98%)
color-grey-100
#f2f2f2
(0, 0%, 95%)
color-grey-200
#e6e6e6
(0, 0%, 90%)
color-grey-300
#cccccc
(0, 0%, 80%)
color-grey-400
#bfbfbf
(0, 0%, 75%)
color-grey-500
#999999
(0, 0%, 60%)
color-grey-600
#808080
(0, 0%, 60%)
color-grey-700
#666666
(0, 0%, 40%)
color-grey-800
#4d4d4d
(0, 0%, 30%)
color-grey-900
#333333
(0, 0%, 20%)
Trasparent variants
Token
Opacity
Value (hsla)
Value (#RRGGBBAA)
color-grey-50-a
0.02
hsla(0,0%,0% / 0.02)
#00000005
color-grey-100-a
0.05
hsla(0,0%,0% / 0.05)
#0000000d
color-grey-200-a
0.1
hsla(0,0%,0% / 0.1)
#0000001a
color-grey-300-a
0.2
hsla(0,0%,0% / 0.2)
#00000033
color-grey-400-a
0.3
hsla(0,0%,0% / 0.3)
#0000004d
color-grey-500-a
0.4
hsla(0,0%,0% / 0.4)
#00000066
color-grey-600-a
0.5
hsla(0,0%,0% / 0.5)
#00000080
color-grey-700-a
0.6
hsla(0,0%,0% / 0.6)
#00000099
color-grey-800-a
0.7
hsla(0,0%,0% / 0.7)
#000000b3
color-grey-900-a
0.8
hsla(0,0%,0% / 0.8)
#000000cc
Purple
The core Purple family serves as the primary action color.