Global color tokens
Color#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-white |
#ffffff
|
Lightest surface (light theme) or primary text (dark theme) |
|
|
--rh-color-black |
#000000
|
Brand black (avoid using) |
|
Accent#
Base#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-accent-base-on-light |
#0066cc
|
Inline link (light theme) |
|
|
--rh-color-accent-base-on-dark |
#92c5f9
|
Inline link (dark theme) |
|
Brand#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-accent-brand-on-light |
#ee0000
|
Brand red (light theme) |
|
|
--rh-color-accent-brand-on-dark |
#ee0000
|
Brand red (dark theme) |
|
Brand#
Red#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-brand-red-lightest |
#fbc5c5
|
Lightest brand red |
|
|
--rh-color-brand-red-lighter |
#f9a8a8
|
lighter brand red |
|
|
--rh-color-brand-red-light |
#f56e6e
|
Light brand red |
|
|
--rh-color-brand-red-dark |
#a60000
|
Dark brand red/Brand red hover |
|
|
--rh-color-brand-red-darker |
#5f0000
|
Darker brand red |
|
|
--rh-color-brand-red-darkest |
#5f0000
|
Darkest brand red |
|
|
--rh-color-brand-red-on-dark |
#ee0000
|
Brand red on dark background |
|
|
--rh-color-brand-red-on-light |
#ee0000
|
Brand red on light background |
|
Canvas#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-canvas-white |
#ffffff
|
Primary canvas (light theme) |
|
|
--rh-color-canvas-black |
#151515
|
Primary canvas (dark theme) |
|
Blue#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-blue-10 |
#E0F0FF
|
Alert - Info background |
|
|||||||||||
|
||||||||||||||
--rh-color-blue-20 |
#B9DAFC
|
Label - Filled (Blue) border color |
|
|||||||||||
|
||||||||||||||
--rh-color-blue-30 |
#92C5F9
|
Inline link (dark theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-blue-40 |
#4394E5
|
Alert - Info accent |
|
|||||||||||
|
||||||||||||||
--rh-color-blue-50 |
#0066CC
|
Label - Filled (Blue) accent color |
|
|||||||||||
|
||||||||||||||
--rh-color-blue-60 |
#004D99
|
Inline link hover (light theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-blue-70 |
#003366
|
Alert - Info title text |
|
|||||||||||
|
Gray#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-gray-10 |
#F2F2F2
|
Tertiary surface (light theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-20 |
#E0E0E0
|
Secondary surface (light theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-30 |
#C7C7C7
|
Subtle borders (light theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-40 |
#A3A3A3
|
Subtle icon (hover state) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-50 |
#707070
|
Subtle icon |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-60 |
#4D4D4D
|
Secondary text (light theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-70 |
#383838
|
Tertiary surface (dark theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-80 |
#292929
|
Alternative tertiary surface (not available for use with context provider) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-90 |
#1F1F1F
|
Secondary surface (dark theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-gray-95 |
#151515
|
Primary surface (dark theme) or primary text (light theme) |
|
Green#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-green-10 |
#E9F7DF
|
Alert - success background |
|
|||||||||||
|
||||||||||||||
--rh-color-green-20 |
#D1F1BB
|
Label - Filled (Green) border color |
|
|||||||||||
|
||||||||||||||
--rh-color-green-30 |
#AFDC8F
|
|
||||||||||||
|
||||||||||||||
--rh-color-green-40 |
#87BB62
|
|
||||||||||||
|
||||||||||||||
--rh-color-green-50 |
#63993D
|
|
||||||||||||
|
||||||||||||||
--rh-color-green-60 |
#3D7317
|
Alert - Success accent |
|
|||||||||||
|
||||||||||||||
--rh-color-green-70 |
#204D00
|
Alert - Success title text |
|
|||||||||||
|
Orange#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-orange-10 |
#FFE8CC
|
Label - Filled (Orange) background color |
|
|||||||||||
|
||||||||||||||
--rh-color-orange-20 |
#FCCB8F
|
|
||||||||||||
|
||||||||||||||
--rh-color-orange-30 |
#F8AE54
|
Label - Filled (Orange) border color |
|
|||||||||||
|
||||||||||||||
--rh-color-orange-40 |
#F5921B
|
Label - Filled (Orange) accent color |
|
|||||||||||
|
||||||||||||||
--rh-color-orange-50 |
#CA6C0F
|
Label - Filled (Orange) accent color |
|
|||||||||||
|
||||||||||||||
--rh-color-orange-60 |
#9E4A06
|
|
||||||||||||
|
||||||||||||||
--rh-color-orange-70 |
#732E00
|
Label - Filled (Orange) text color |
|
|||||||||||
|
Purple#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-purple-10 |
#ECE6FF
|
Label - Filled (Purple) background color |
|
|||||||||||
|
||||||||||||||
--rh-color-purple-20 |
#D0C5F4
|
Inline link visited hover (dark theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-purple-30 |
#B6A6E9
|
|
||||||||||||
|
||||||||||||||
--rh-color-purple-40 |
#876FD4
|
Inline link visited (dark theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-purple-50 |
#5E40BE
|
|
||||||||||||
|
||||||||||||||
--rh-color-purple-60 |
#3D2785
|
Inline link visited (light theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-purple-70 |
#21134D
|
Inline link visited hover (light theme) |
|
|||||||||||
|
Red orange#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-red-orange-10 |
#FFE3D9
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-orange-20 |
#FBBEA8
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-orange-30 |
#F89B78
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-orange-40 |
#F4784A
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-orange-50 |
#F4784A
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-orange-60 |
#B1380B
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-orange-70 |
#731F00
|
|
||||||||||||
|
Red#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-red-10 |
#FCE3E3
|
|
||||||||||||
|
||||||||||||||
--rh-color-red-20 |
#FBC5C5
|
Lightest brand red |
|
|||||||||||
|
||||||||||||||
--rh-color-red-30 |
#F9A8A8
|
Lighter brand red |
|
|||||||||||
|
||||||||||||||
--rh-color-red-40 |
#F56E6E
|
Light brand red |
|
|||||||||||
|
||||||||||||||
--rh-color-red-50 |
#EE0000
|
Brand red (light and dark theme) |
|
|||||||||||
|
||||||||||||||
--rh-color-red-60 |
#A60000
|
Dark brand red |
|
|||||||||||
|
||||||||||||||
--rh-color-red-70 |
#5F0000
|
Darker brand red |
|
|||||||||||
|
Teal#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-teal-10 |
#DAF2F2
|
Alert - Default background |
|
|||||||||||
|
||||||||||||||
--rh-color-teal-20 |
#B9E5E5
|
|
||||||||||||
|
||||||||||||||
--rh-color-teal-30 |
#9AD8D8
|
Label (Cyan) border color |
|
|||||||||||
|
||||||||||||||
--rh-color-teal-40 |
#63BDBD
|
|
||||||||||||
|
||||||||||||||
--rh-color-teal-50 |
#37A3A3
|
Alert - Default accent |
|
|||||||||||
|
||||||||||||||
--rh-color-teal-60 |
#147878
|
|
||||||||||||
|
||||||||||||||
--rh-color-teal-70 |
#004D4D
|
Alert - Default title text |
|
|||||||||||
|
Yellow#
Ex. | Token name | Value | Use case | |||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
--rh-color-yellow-10 |
#FFF4CC
|
Alert - Warning background |
|
|||||||||||
|
||||||||||||||
--rh-color-yellow-20 |
#FFE072
|
|
||||||||||||
|
||||||||||||||
--rh-color-yellow-30 |
#FFCC17
|
|
||||||||||||
|
||||||||||||||
--rh-color-yellow-40 |
#DCA614
|
Alert - Warning accent |
|
|||||||||||
|
||||||||||||||
--rh-color-yellow-50 |
#B98412
|
|
||||||||||||
|
||||||||||||||
--rh-color-yellow-60 |
#96640F
|
|
||||||||||||
|
||||||||||||||
--rh-color-yellow-70 |
#73480B
|
Alert - Warning title text |
|
|||||||||||
|
Interactive#
Blue#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-interactive-blue-lightest |
#b9dafc
|
Inline link hover (dark theme) |
|
|
--rh-color-interactive-blue-lighter |
#92c5f9
|
Inline link (dark theme) |
|
|
--rh-color-interactive-blue-darker |
#0066cc
|
Inline link (light theme) |
|
|
--rh-color-interactive-blue-darkest |
#003366
|
Inline link hover (light theme) |
|
Purple#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-interactive-purple-lightest |
#ece6ff
|
Inline link visited hover (dark theme) |
|
|
--rh-color-interactive-purple-lighter |
#b6a6e9
|
Inline link visited (dark theme) |
|
|
--rh-color-interactive-purple-darker |
#5e40be
|
Inline link visited (light theme) |
|
|
--rh-color-interactive-purple-darkest |
#21134d
|
Inline link visited hover (light theme) |
|
Surface#
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
--rh-color-surface-lightest |
#ffffff
|
Primary surface (light theme) |
|
|
--rh-color-surface-lighter |
#f2f2f2
|
Tertiary surface (light theme) |
|
|
--rh-color-surface-light |
#e0e0e0
|
Secondary surface (light theme) |
|
|
--rh-color-surface-dark |
#383838
|
Tertiary surface (dark theme) |
|
|
--rh-color-surface-dark-alt |
#292929
|
Alternative tertiary surface (not available for use with context provider) |
|
|
--rh-color-surface-darker |
#1f1f1f
|
Secondary surface (dark theme) |
|
|
--rh-color-surface-darkest |
#151515
|
Primary surface (dark theme) |
|
Other libraries
To learn more about our other libraries, visit this page.
Feedback
To give feedback about anything on this page, contact us.
Red Hat legal and privacy links
- About Red Hat
- Jobs
- Events
- Locations
- Contact Red Hat
- Red Hat Blog
- Diversity, equity, and inclusion
- Cool Stuff Store
- Red Hat Summit