Global color tokens
On this page
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
|
#ffffff
|
Lightest surface (light theme) or primary text (dark theme) |
|
|
|
#000000
|
Brand black (avoid using) |
|
Accent
Theme Tokens
Base
Responsive accent-base
color value. Typically read only - use a themable container e.g. <rh-surface>
Resolves to --rh-color-accent-base-on-light
on a themable container with a light color palette and --rh-color-accent-base-on-dark
on a themable container with a dark color palette.
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
|
light-dark(var(--rh-color-accent-base-on-light, #0066cc), var(--rh-color-accent-base-on-dark, #92c5f9))
|
Responsive |
|
|
|
#0066cc
|
Inline link (light theme) |
|
|
|
#92c5f9
|
Inline link (dark theme) |
|
Brand
Responsive accent-brand
color value. Typically read only - use a themable container e.g. <rh-surface>
. Resolves to --rh-color-accent-brand-on-light
on a themable container with a light color palette and --rh-color-accent-brand-on-dark
on a themable container with a dark color palette.
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
|
light-dark(var(--rh-color-accent-brand-on-light, #ee0000), var(--rh-color-accent-brand-on-dark, #ee0000))
|
Responsive |
|
|
|
#ee0000
|
Brand red (light theme) |
|
|
|
#ee0000
|
Brand red (dark theme) |
|
Brand
Theme Tokens
Red
Responsive brand-red
color value. Typically read only - use a themable container e.g. <rh-surface>
Resolves to --rh-color-brand-red-on-light
on a themable container with a light color palette and --rh-color-brand-red-on-dark
on a themable container with a dark color palette.
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
|
light-dark(var(--rh-color-brand-red-on-light, #ee0000), var(--rh-color-brand-red-on-dark, #ee0000))
|
Responsive |
|
|
|
#ee0000
|
Brand red on light background |
|
|
|
#ee0000
|
Brand red on dark background |
|
|
|
#fbc5c5
|
Lightest brand red |
|
|
|
#f9a8a8
|
Lighter brand red |
|
|
|
#f56e6e
|
Light brand red |
|
|
|
#a60000
|
Dark brand red/Brand red hover |
|
|
|
#5f0000
|
Darker brand red |
|
|
|
#3f0000
|
Darkest brand red |
|
Green
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#e9f7df
|
Alert - success background |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#d1f1bb
|
Label - Filled (Green) border color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#afdc8f
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#87bb62
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#63993d
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#3d7317
|
Alert - Success accent |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#204d00
|
Alert - Success title text |
|
||||||||||||||||
Color function variants
|
Orange
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#ffe8cc
|
Label - Filled (Orange) background color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#fccb8f
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f8ae54
|
Label - Filled (Orange) border color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f5921b
|
Label - Filled (Orange) accent color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#ca6c0f
|
Label - Filled (Orange) accent color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#9e4a06
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#732e00
|
Label - Filled (Orange) text color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#4d1f00
|
|
|||||||||||||||||
Color function variants
|
Canvas
Ex. | Token name | Value | Use case | |
---|---|---|---|---|
|
#ffffff
|
Primary canvas (light theme) |
|
|
|
#151515
|
Primary canvas (dark theme) |
|
Blue
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#e0f0ff
|
Alert - Info background |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#b9dafc
|
Label - Filled (Blue) border color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#92c5f9
|
Inline link (dark theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#4394e5
|
Alert - Info accent |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#0066cc
|
Label - Filled (Blue) accent color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#004d99
|
Inline link hover (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#003366
|
Alert - Info title text |
|
||||||||||||||||
Color function variants
|
Gray
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#f2f2f2
|
Tertiary surface (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#e0e0e0
|
Secondary surface (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#c7c7c7
|
Subtle borders (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#a3a3a3
|
Subtle icon (hover state) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#707070
|
Subtle icon |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#4d4d4d
|
Secondary text (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#383838
|
Tertiary surface (dark theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#292929
|
Alternative tertiary surface (not available for use with context provider) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#1f1f1f
|
Secondary surface (dark theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#151515
|
Primary surface (dark theme) or primary text (light theme) |
|
Purple
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#ece6ff
|
Label - Filled (Purple) background color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#d0c5f4
|
Inline link visited hover (dark theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#b6a6e9
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#876fd4
|
Inline link visited (dark theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#5e40be
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#3d2785
|
Inline link visited (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#21134d
|
Inline link visited hover (light theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#1b0d33
|
|
|||||||||||||||||
Color function variants
|
Red orange
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#ffe3d9
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#fbbea8
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f89b78
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f4784a
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f0561d
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#b1380b
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#731f00
|
|
|||||||||||||||||
Color function variants
|
Red
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#fce3e3
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#fbc5c5
|
Lightest brand red |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f9a8a8
|
Lighter brand red |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#f56e6e
|
Light brand red |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#ee0000
|
Brand red (light and dark theme) |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#a60000
|
Dark brand red |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#5f0000
|
Darker brand red |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#3f0000
|
Darkest brand red |
|
||||||||||||||||
Color function variants
|
Teal
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#daf2f2
|
Alert - Default background |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#b9e5e5
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#9ad8d8
|
Label (Cyan) border color |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#63bdbd
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#37a3a3
|
Alert - Default accent |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#147878
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#004d4d
|
Alert - Default title text |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#003333
|
|
|||||||||||||||||
Color function variants
|
Yellow
Ex. | Token name | Value | Use case | ||||||||||||||||
---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|---|
|
#fff4cc
|
Alert - Warning background |
|
||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#ffe072
|
|
|||||||||||||||||
Color function variants
|
|||||||||||||||||||
|
#ffcc17
|
|